Hi,
just upgraded to 2.4 and now it seems that I am blind.
My original images have a width of 1024 pixel.
When I first visit an album they are displayed at this width (right click infos says: upscaled from 792px)
When I now switch size to any other size and then go back to original size, my original size image is displayed with 792 pixel width.
Where I can disable this scaling of the original image ?
I have not found an option for that.
Cheers
Ralf
Offline
I think this is related to theme Stripped. I have notified Zaphod.
Offline
Do you have a link to your website?
I don't understand the problem.
Last edited by Zaphod (2012-06-25 20:38:52)
Offline
Exact same issue with the stripped theme. Using elegant now, no problems.
Offline
Hi,
no it is not a stripped issue. With the stripped theme the image is displayed in the original dimension:
1024x681
Website link is:
http://www.pixel-wonders.de
I have set the elegant theme, so you can see what I mean.
Example:
http://www.pixel-wonders.de/picture/120 … 5-wildlife
The page is loaded with the image displayed in medium dimensions (792x594px)
As said above the original image has 1024x681
The problem is, that when I switch to "original" the image is displayed in the medium dimension (792x594).
Same happens with Sylvia template, so I guess it is not a template issue.
My question:
Where can I set, that when choosing "Original" - the image will be displayed in original size (1024x681).
Update:
When logged in, the original image is displayed correct. But when I now switch from original to medium and then back to original it remains in 792x594 px.
RightClick "Reload page" brings back the original dimensions, but it still shows in the image information:
792x594 scaled up to 1024x681
Cheers
Ralf
Last edited by Ralf (2012-06-26 19:59:36)
Offline
Addition:
I hope this makes it a little bit clearer:
http://www.pixel-wonders.de/upload/2012 … ae7956.jpg
If you have a look at the image you will see the 792pixel width.
Logging in per ftp an looking at the image, it has 1024 pixel width.
Offline
broken link
Offline
question : http://www.pixel-wonders.de/upload/2012 … de0b76.jpg is the watermark applied by you before the upload or by piwigo new system ?
Offline
The imag was uploaded with the watermark.
I guess the image size scaled to 792px is because the sizes is dependant of the browser image width ?
Last edited by Ralf (2012-06-26 21:33:02)
Offline
hum no
the image is really 792px width ; this one is bigger http://www.pixel-wonders.de/i/upload/20 … b76-la.jpg I will let people answer but i think the script shouldn't resize upp....
OKAY I've just saw the problem ! it might be due to url rewritting : could you rename the .htaccess in somewhat else ?
Offline
You are my king :-)
Just edited the htacess.
Since the update to 2.4 there are the entries:
<IfModule mod_rewrite.c>
RewriteEngine on
## redirect <2.4 thumbnails hotlinks to i.php
RewriteRule ^upload/(.*)/thumbnail/TN\-(.*)\.([a-z0-9]{3,4})$ i.php?/upload/$1/$2-th.$3 [L]
RewriteRule ^galleries/(.*)/thumbnail/TN\-(.*)\.([a-z0-9]{3,4})$ i.php?/galleries/$1/$2-th.$3 [L]
## redirect <2.4 high-def hotlinks to original file
RewriteRule ^upload/(.*)/pwg_high/(.*)\.([a-z0-9]{3,4})$ upload/$1/$2.$3 [L]
RewriteRule ^galleries/(.*)/pwg_high/(.*)\.([a-z0-9]{3,4})$ galleries/$1/$2.$3 [L]
## redirect <2.4 low-def hotlinks to i.php
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?www\.ralf\-kerkhoff\.de/.*$ [NC]
RewriteRule ^upload/(.*)/(.*)\.([a-z0-9]{3,4})$ i.php?/upload/$1/$2-me.$3 [L]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?www\.ralf\-kerkhoff\.de/.*$ [NC]
RewriteRule ^galleries(.*)/(.*)\.([a-z0-9]{3,4})$ i.php?/galleries/$1/$2-me.$3 [L]
</IfModule>
And here is what causes the problem.
I have two domains.
Both point to my piwigo installation.
Update was done from the ralf-kerkhoff.de domain.
If I point my browser to:
http://www.ralf-kerkhoff.de
anything works fine.
Just replaced the ralf\-kerkhoff entries with pixel\-wonders and anything works fine :-)
Thanks again.
Just one last question about the htaccess.
I have edited the htacess for piwigo 2.3:
AcceptPathInfo On
Options -Indexes +MultiViews
and the local file editor has:
$conf['question_mark_in_urls'] = false;
$conf['php_extension_in_urls'] = false;
$conf['category_url_style'] = 'id-name';
$conf['picture_url_style'] = 'file';
to get sef friendly urls.
Do I need these entries in 2.4 or are they obsolete now because of the block:
<IfModule mod_rewrite.c>
RewriteEngine on
added to the htacess from piwigo 2.4.
Again a big thank you :-)
Cheers
Ralf
Offline
they are not obsolete you can keep them
here what you can do to deal with your two domains
<IfModule mod_rewrite.c> RewriteEngine on ## redirect <2.4 thumbnails hotlinks to i.php RewriteRule ^upload/(.*)/thumbnail/TN\-(.*)\.([a-z0-9]{3,4})$ i.php?/upload/$1/$2-th.$3 [L] RewriteRule ^galleries/(.*)/thumbnail/TN\-(.*)\.([a-z0-9]{3,4})$ i.php?/galleries/$1/$2-th.$3 [L] ## redirect <2.4 high-def hotlinks to original file RewriteRule ^upload/(.*)/pwg_high/(.*)\.([a-z0-9]{3,4})$ upload/$1/$2.$3 [L] RewriteRule ^galleries/(.*)/pwg_high/(.*)\.([a-z0-9]{3,4})$ galleries/$1/$2.$3 [L] ## redirect <2.4 low-def hotlinks to i.php RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?www\.(ralf\-kerkhoff|pixel\-wonders)\.de/.*$ [NC] RewriteRule ^upload/(.*)/(.*)\.([a-z0-9]{3,4})$ i.php?/upload/$1/$2-me.$3 [L] RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?www\.(ralf\-kerkhoff|pixel\-wonders)\.de/.*$ [NC] RewriteRule ^galleries(.*)/(.*)\.([a-z0-9]{3,4})$ i.php?/galleries/$1/$2-me.$3 [L] </IfModule>
Offline