Return to image from full picture ?

Hello,

May be this question has already been discussed : I've not found it.

Clicking a thumbnail displays the intermediate picture.
Clicking an intermediate picture displays the full picture that fits the screen size
Clicking the full picture that fits the screen size displays it full size.
Clicking the full size picture displays the full picture that fits the screen size again

Is it possible to change last click to go back to the intermediate picture instead of full resized picture ?

Comments

  • acrylian Administrator

    The thing is the full picture is not really a theme page actually and not always anyway. It is only displayed within a script page if you have set it to a protected view and that page is not themable. Otherwise it is just the picture itself.

    Is it possible to change last click to go back to the intermediate picture instead of full resized picture ?

    We could change the return link to the image page but it could conflict with themes that do not use the sized image at all. It would return to a non existing page then. We could add a parameter to the full image URL functions or a theme option.

    I would recommend to open the full image within a "lightbox" like the included colorbox plugin or some other to basicaly solve this issue. Or additionally change the full image link on your theme to open a new window.

    PS just to note the official ZP terms - as you see them in all documentation within code and otherwise - for the images are

    • thumb(nail)
    • sized image (on the image page image but the term also refers to all resized images cropped or not cropped actually - so thumbs are also sized images technically)
    • full image/original image
  • ctdlg Member

    Thank you for your help :
    now, i'm using the colorbox plugin.
    We cannot display pictures 1/1, but it's easier for visitors.

  • ctdlg Member

    Concerning full image, we can right click and choose "display picture" then we can zoom to 1/1 or not !

  • acrylian Administrator

    Yes, colorbox and other "lightbox" scripts scale it to the viewport so it is completely visible.

    If you need the direct full image you could add a separate link for it, too.

  • ctdlg Member

    Very good suggestion : I've added the link on the printImageTitle() (image title), image.php file

Sign In or Register to comment.