Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: sizing up thumbs  (Read 2519 times)

0 Members and 1 Guest are viewing this topic.

nickfzx

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 285
sizing up thumbs
« on: March 04, 2007, 07:38:20 pm »

Hey

so i would like to enlarge all the thumbs on my site from 100 pixels to around 180 pixels.

I have tried this out on a coppermine install and it works perfectly...thanks stramm for his modpack otherwise this would have taken ages.

What I have found though is that all the images are enlarged but they stay at 100 pixels and appear pixelated as the browser had cached all the previous thumbnails and is still using them.  If I reloaded the page a few times or flushed the browsers cache then the thumbnails re-load at their larger size.

This I know is not a Coppermine specific problem.   But there may be a solution.  Is it possible to change the name of the directory where all the albums are kept?  this way the browser will treat the new thumbnails as new files as they aren't in the same directory.

Is there another way round this problem?
« Last Edit: March 06, 2007, 07:58:56 am by GauGau »
Logged

nickfzx

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 285
Re: sizing up thumbs
« Reply #1 on: March 04, 2007, 07:45:06 pm »

sorry I found out that it is easy to rename the album directory.

is there another way of doing this without needing to rename a directory?
Logged

nickfzx

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 285
Re: sizing up thumbs
« Reply #2 on: March 06, 2007, 02:29:37 am »

sorry to post again but I have a quick question relating to the above two posts.

What are the disadvantages to changing the name of your album directory...apart from the obvious one that all external links to image files and bookmarks to image files will become void.

It says in the configuration that:

"These settings mustn't be changed if you already have files in your database."

What is the reason for this?

I might want to do this and want to be sure that I am not going to run into hidden problems.
Logged

Nibbler

  • Guest
Re: sizing up thumbs
« Reply #3 on: March 06, 2007, 02:34:59 am »

That's because you have to move/rename the albums folder yourself (outside of Coppermine). You can set up a redirect or rewrite rule to fix broken links.
Logged

nickfzx

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 285
Re: sizing up thumbs
« Reply #4 on: March 06, 2007, 02:40:23 am »

ah ok, so there is no real reason why this shouldn't be done as long as I just manually rename the albums folder to the new name?

( thanks for the tip on the redirect rule...I imagine this will be quite easy to figure out and not really a job for the coppermine forum so I won't ask )
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.