CGSmartImage - Image change detection

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
akke
Forum Members
Forum Members
Posts: 13
Joined: Tue Jan 18, 2011 4:00 pm

CGSmartImage - Image change detection

Post by akke »

Hi,

Really love the CGSmartImage module :)
Image change detection, if the master image is changed scaled images will be regenerated.
The regenerated image seem to get the same filename. (in cache dir) Is there a way to force a new filename when regenerating based on master image change? (To overcome browser cache)

nobcache="" parameter force reload on every page request, but I only need when master image is changed.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1629
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: CGSmartImage - Image change detection

Post by DIGI3 »

If you replace the image, even one with the same name, it gets a new filename in the cache. The old file in the cache won't be deleted though, so perhaps it's the page being cached that's the problem?
Not getting the answer you need? CMSMS support options
akke
Forum Members
Forum Members
Posts: 13
Joined: Tue Jan 18, 2011 4:00 pm

Re: CGSmartImage - Image change detection

Post by akke »

Thanks, but it regenerate with the same cache filename. (like img-4767789f35360d323e9ba3f37e2c1261)
Always been like that.

If that's not intensional, it may be a bug?
----------------------------------------------
Cms Version: 2.2.15
Installed Modules:
AdminSearch: 1.0.5
CGExtensions: 1.65.2
CGSimpleSmarty: 2.2.1
CGSmartImage: 1.22.7
CMSContentManager: 1.1.9
CmsJobManager: 0.1.3
DesignManager: 1.1.9
FileManager: 1.6.12
FilePicker: 1.0.5
Kultur: 2
MicroTiny: 2.2.5
ModuleManager: 2.1.8
Navigator: 1.0.9
News: 2.51.11
Search: 1.52
Uploads: 1.26.2

Config Information:
php_memory_limit:
max_upload_size: 256000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/Oslo
permissive_smarty: false

Php Information:
phpversion: 7.3.25
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 22519
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 256M
max_execution_time: 120
register_globals: Off (False)
output_buffering: 4096
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 256M
upload_max_filesize: 256M
session_save_path: /tmp (0700)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 10
php_opcache: On (True)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache
Server Api: litespeed
Server Os: Linux 4.18.0-80.7.2.el7h.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.7.32
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:
tmp: /home/xxx/dev.neskulturhus.no/tmp (0755)
tmp_cache: /home/xxx/dev.neskulturhus.no/tmp/cache (0755)
templates_c: /home/xxx/dev.neskulturhus.no/tmp/templates_c (0755)
modules: /home/xxx/dev.neskulturhus.no/modules (0755)
uploads: /home/xxx/dev.neskulturhus.no/uploads (0755)
File Creation Mask (umask): /home/xxx/dev.neskulturhus.no/tmp/cache (0755)
config_file: 0444
----------------------------------------------
Post Reply

Return to “Modules/Add-Ons”