Member
Member
Nordlicht   25-01-2019, 16:25
#1

Honestly - I am a bit "empty" and ask myself if I did mix something up or if it is right this way.

When I am on this page
https://my_spc/com/custom_station/ullmann_magistrale_9005/P8060150_k_1.jpg

And enlarge the picture, then I have this address for the picture:
https://my_spc/com/zp-core/i.php?a=custom_station/ullmann_magistrale_9005&i=P8060150_k_1.jpg&s=1400&cw=0&ch=0&q=85&wmk=!&check=4316dc4f3331d7e59812efef3595081c0bed4609

When I now copy the address and short it to:
https://my_zpc/com/zp-core/i.php?a=custom_station/ullmann_magistrale_9005&i=P8060150_k_1.jpg

Then ZenPhoto is redirecting and displaying the hidden album directory in the addressbar:
https://my_zpc/com/alben/custom_station/ullmann_magistrale_9005/P8060150_k_1.jpg

So, is it a bug or a feature?

Administrator
Administrator
acrylian   25-01-2019, 17:12
#2

[s]What is your exact setting for the full image? This seems not a protected vidw as there is some query is missing. Then I can try to reproduce.[/s]

Sidenote: it is strongely recommend to use a rewrite suffix on the single image page like
https://my_spc/com/custom_station/ullmann_magistrale_9005/P8060150_k_1.jpg because the url is looking like an image but actually is a page. This may lead to security issue and may be rejected by search engines (if this is important to you ;-))

Administrator
Administrator
acrylian   25-01-2019, 17:18
#3

Sorry, confused myself… Your link is a image processor link requesting an uncropped size of 1400 px (widht or height depending on your setting for largest side). This is always used if the image is not yet cached. Your image size seems to be as large or larger than the full image already so Zenphoto does not process anything and just returns the full image. Thats absolutely normal and basic behaviour.

This all has nothing to do with the theme.

Member
Member
Nordlicht   25-01-2019, 18:27
#4

Thanks for the suffix advice!
I forgot about that.

what and where do I need to pull or push a lever to replace
/zp-core/i.php?a=
against something nice looking?

Administrator
Administrator
acrylian   25-01-2019, 18:55
#5

what and where do I need to pull or push a lever to replace /zp-core/i.php?a= against something nice looking?

You can't and don't need to. The image processor is only used once to create the cached version (cropped resized). Afterwards the cached version is servered. See the user guide about caching.

Member
Member
Nordlicht   25-01-2019, 19:24
#6

Thanks!
Yep, reading the documentation every here and there and then would answer many questions. miley:

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.