...
Thanks i like this one bro can we also add previous image next image on both side by any chance ?
in details.html:
{if prev_image_name}{lang_prev_image}<br />
<b><a href="{prev_image_url}">{prev_image_name}</a></b>
<br /><br /><a href="{prev_image_url}"><img src="{prev_thumb_file}" border="1"></a>
{endif prev_image_name} </td>
<td align="right" class="row2">
{if next_image_name}{lang_next_image}<br />
<b><a href="{next_image_url}">{next_image_name}</a></b>
<br /><br /><a href="{next_image_url}"><img src="{next_thumb_file}" border="1"></a>
{endif next_image_name}</td>
mfg Andi
Using 4images 1.7.7:
Got the Photo preview hack working. At first, it seemed to be perfect but now with 7 images in the category, only 5 are appearing in the preview. The 5 in preview are only the first 5 images. Two new uploads are not appearing in the preview screen, even after I click on them in the detail page, the preview shows the first 5 only.
Also, and perhaps related, the image previous and image next is not working. Am using the code listed above, for both the top and bottom of the details page.
What do I see? A blank grey table but no images or even links, just a wide bar.
Any ideas on how to resolve this?
Thanks,
Brian
[edit] - issue resolved. see note here: an update for 1.7.7?
able to resolve issue; on a hunch, decided to try V@NO's advice in this post:
http://www.4homepages.de/forum/index.php?topic=7294.msg133435#msg133435moved the photo preview hack code for details.php to the location specified by V@NO and badda bing, it worked.
not sure if this is good advice for ALL 1.7.7 users, but that was able to resolve the display of the links and show prev/next images; also, this fixed the photo preview hack that was only showing the first 5 images even after you clicked on the 6th or 7th image.
- Brian