Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2012-04-30 13:31:04

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11716
Website

[2.4.0RC3] no cache for thumbnails

Hi rvelices,

With a 2.4.0RC3 installed from scratch, the thumbnails are not in cache : they are regenerated each time I refresh the thumbnails page. As soon as I validate screen [Administration > Configuration > Options > Multiple Size] the cache is correctly used.


Latest blog post on Piwigo.com: Piwigo 2.5 on Piwigo.com (March 7th, 2013)

Offline

#2 2012-04-30 15:56:39

rvelices
Piwigo Team
Registered: 2005-12-29
Posts: 1554
Website

Re: [2.4.0RC3] no cache for thumbnails

I believe this is since the "Restore default settings" feature - because last_mod_time of original settings gets updated on every page call.

A fix would be in ImageStdParams to call save() from load_from_db() just after make_default()

BTF, off topic - I saw several issues with external imagick - I believe one is the rotation which behaves badly ... (no tests but I think we miss a switch between this->height and this->width in class image_ext_imagick, function rotate if rotation is 90 or 270 ...)

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013