Hello, I found stuck at this point with smart cj and I need your help.
I have uploaded Custom Gallery, created around 15 thumbs with crop the small images and hotlink the big images. I got content_custom_pic where I have all thumbs CROPPED from each gallery. Now when you go to an image, I have created separate page with single thumb (content_single_item). Here to display the image I got: <!--THUMB_URL--> but the problem is that is displaying the small cropped image. What is the command to show the big hotlinked image instead of the cropped one. I know for each thumbs the command is <!--IMG_1_IMAGE--> but in this situation I need the actual thumb that is accesed. Hope you understand. Thanks
Displays 1 item from gallery
Re: Displays 1 item from gallery
Hello!
I believe you need <!--ITEM_IMAGE--> tag
I believe you need <!--ITEM_IMAGE--> tag
Don't forget to run script update
Re: Displays 1 item from gallery
Great! Is working. And if I wanna make on the content_single_item page an PREV and NEXT image link?
Like the ones for page:
<?php if ('<!--PREV_PAGE-->') { ?>
<a class="btn3" href="/category/<!--CATEGORY_NAME-->/<!--SORT_ORDER-->/<!--PREV_PAGE-->/" title="<!--PREV_PAGE-->" target="_self"><i class="fas fa-arrow-circle-left"></i> BACK</a>
<?php } ?>
<?php if ('<!--NEXT_PAGE-->') { ?>
<a class="btn3" href="/category/<!--CATEGORY_NAME-->/<!--SORT_ORDER-->/<!--NEXT_PAGE-->/" title="<!--NEXT_PAGE-->" target="_self">NEXT <i class="fas fa-arrow-circle-right"></i></a>
<?php } ?>
What should be the functions?
Thanks
Like the ones for page:
<?php if ('<!--PREV_PAGE-->') { ?>
<a class="btn3" href="/category/<!--CATEGORY_NAME-->/<!--SORT_ORDER-->/<!--PREV_PAGE-->/" title="<!--PREV_PAGE-->" target="_self"><i class="fas fa-arrow-circle-left"></i> BACK</a>
<?php } ?>
<?php if ('<!--NEXT_PAGE-->') { ?>
<a class="btn3" href="/category/<!--CATEGORY_NAME-->/<!--SORT_ORDER-->/<!--NEXT_PAGE-->/" title="<!--NEXT_PAGE-->" target="_self">NEXT <i class="fas fa-arrow-circle-right"></i></a>
<?php } ?>
What should be the functions?
Thanks
Re: Displays 1 item from gallery
you have ITEM_ID tag
so the next is <!--ITEM_ID--> +1
and prev = <!--ITEM_ID--> -1
but I can add tags for it
so the next is <!--ITEM_ID--> +1
and prev = <!--ITEM_ID--> -1
but I can add tags for it
Don't forget to run script update
Re: Displays 1 item from gallery
I understand but I dunno how to add them in the template context to copy the template I use for pagination:
<?php if ('<!--PREV_PAGE-->') { ?>
<a class="btn3" href="/category/<!--CATEGORY_NAME-->/<!--SORT_ORDER-->/<!--PREV_PAGE-->/" title="<!--PREV_PAGE-->" target="_self"><i class="fas fa-arrow-circle-left"></i> BACK</a>
<?php } ?>
<?php if ('<!--NEXT_PAGE-->') { ?>
<a class="btn3" href="/category/<!--CATEGORY_NAME-->/<!--SORT_ORDER-->/<!--NEXT_PAGE-->/" title="<!--NEXT_PAGE-->" target="_self">NEXT <i class="fas fa-arrow-circle-right"></i></a>
<?php } ?>
<?php if ('<!--PREV_PAGE-->') { ?>
<a class="btn3" href="/category/<!--CATEGORY_NAME-->/<!--SORT_ORDER-->/<!--PREV_PAGE-->/" title="<!--PREV_PAGE-->" target="_self"><i class="fas fa-arrow-circle-left"></i> BACK</a>
<?php } ?>
<?php if ('<!--NEXT_PAGE-->') { ?>
<a class="btn3" href="/category/<!--CATEGORY_NAME-->/<!--SORT_ORDER-->/<!--NEXT_PAGE-->/" title="<!--NEXT_PAGE-->" target="_self">NEXT <i class="fas fa-arrow-circle-right"></i></a>
<?php } ?>
Re: Displays 1 item from gallery
ok, how do you link to a page that uses content_single_item?
Don't forget to run script update
Re: Displays 1 item from gallery
http://pussycrave.com/gallery/beautiful ... ens/1.html
so next page is
http://pussycrave.com/gallery/beautiful ... ens/2.html
right? is that what you want?
so next page is
http://pussycrave.com/gallery/beautiful ... ens/2.html
right? is that what you want?
Don't forget to run script update
Re: Displays 1 item from gallery
yes, also I need for previous if exists. If you are on image 2 to be able to go back to image 1. Exactly like the pagination shown up.
Re: Displays 1 item from gallery
ok, i've added 2 new tags
<!--ITEM_ID_NEXT--> <br>
<!--ITEM_ID_PREV--> <br>
so link to the next items is
<!--ITEM_ID_NEXT--> <br>
<!--ITEM_ID_PREV--> <br>
so link to the next items is
Code: Select all
http://pussycrave.com/gallery/beautiful-young-teens/<!--ITEM_ID_NEXT-->.html
Don't forget to run script update