I wonder if anyone can help me with integrating Safecracker and Channel Images codes. I have a section on my website for viewers to upload their own photos. I’m using Channel Images to upload photos. I’d like to limit the photos the client sees to just the photos they’ve uploaded, but all the images that have been uploaded are appearing on the viewers page. I think Channel Images is supposed to automatically limit images by author, but I can’t get it to work and have not yet gotten a response from Channel Images. I’m wondering if there is a way to tag the photos with Safecracker in a way that Channel Images would recognize so that I could use that as a limiting factor. Here are my templates:
1. Upload template:
{exp:safecracker channel="photos" return="photos/ci_view/"}
<input type="hidden" name="title" id="title" value="{username} photo upload">
{field:my_images}
<input type="submit" value="Submit">
{/exp:safecracker}
2. View template
{exp:channel_images:images paginate="bottom" sort="asc" limit="3"}
<h3>Title: {image:title}</h3>
<p><a href="http://scapezilla.com/dev/index.php/photos/ci_edit/{image:entry_id}"> Edit Title>></a><br />
{image:url:default}</p>
<p>Description: {image:description}<br />
<a href="http://scapezilla.com/dev/index.php/photos/ci_edit/{image:entry_id}"> Edit Description>></a><br />
<br />
{/exp:channel_images:images}I’d appreciate any suggestions anyone has. Thanks!