Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: re-creation of thumbnails...  (Read 4726 times)

0 Members and 1 Guest are viewing this topic.

lykman

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 22
    • http://www.dpgr.gr
re-creation of thumbnails...
« on: December 18, 2003, 01:38:17 am »

... is it possible? One of the sites I'm using cpg was hacked, and all photos & thumbs were deleted. The db is still there (comments, albums, categories etc.), and I uploaded again the photos from my hard disk. But there are no thumbs now... I cannot find anything in this support board, and I didn't find anything in cpg's actions.
The "util.php" can alter the size, only if these (thumbs) .jpgs exist... it doesn't work for my situation either.  :cry:

(I think if there is no solution available, this could be a "future request").

Thanks...
Logged
Coppermine is GREAT!!!

Problems with Greek lang of Coppermine? Contact me!

jason

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 78
re-creation of thumbnails...
« Reply #1 on: December 18, 2003, 04:06:04 am »

curious, hacked from a cpg hole?

if the normal size pic has the name filename.jpg then you simply need to have a thumbnail with the name thumb_filename.jpg in the same folder as filename.jpg.

you can create thumbnails using various freeware programs and/or unix utilities.
Logged
jason

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
re-creation of thumbnails...
« Reply #2 on: December 18, 2003, 07:41:12 am »

If you are using IM, you can use a single command to the convert utility to make thumbnails of an entire copied directory of your photos.  Add one more command (for Unix, at least - but I bet Windows can do it, too) to append the thumb_ designation to the all the files in the directory, and then just copy all the files into their respective Coppermine user directories.
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

lykman

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 22
    • http://www.dpgr.gr
re-creation of thumbnails...
« Reply #3 on: December 18, 2003, 11:29:40 pm »

@jason: we think not... they have just deleted all files under all directories from a photographic site.

@hyperion: we use GD library...

I would prefer not to do it locally...  :(
Logged
Coppermine is GREAT!!!

Problems with Greek lang of Coppermine? Contact me!

lykman

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 22
    • http://www.dpgr.gr
re-creation of thumbnails...
« Reply #4 on: December 18, 2003, 11:46:22 pm »

... on a second thought, these were very good suggestions!
I used ACDSee for batch resize, and Oscar's Renamer to rename them.. I'm already uploading!  :D  :D

At least half of my problem is solved... the photos I had in my HD have now their thumbs. But only *my* photos...  :?
Logged
Coppermine is GREAT!!!

Problems with Greek lang of Coppermine? Contact me!

jason

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 78
re-creation of thumbnails...
« Reply #5 on: December 19, 2003, 02:45:22 pm »

Quote from: "lykman"
@jason: we think not... they have just deleted all files under all directories from a photographic site.


do you know how?  what is your server based on?

and you can easily donwload copies of the other photos from the server to your hard drive and then batch convert/rename them too.
Logged
jason

Oasis

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 252
  • iNSiGNiA
    • Pixnet Gallery
re-creation of thumbnails...
« Reply #6 on: December 20, 2003, 01:50:36 pm »

hmm.. i would assume that if the thumbs were deleted, so were the originals..
Logged
Pixnet Gallery: http://www.pixnet.net
iNSiGNiA Weblog: http://www.jayliu.org

lykman

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 22
    • http://www.dpgr.gr
re-creation of thumbnails...
« Reply #7 on: December 20, 2003, 11:57:14 pm »

Quote from: "oasis"
hmm.. i would assume that if the thumbs were deleted, so were the originals..


exactly...  :(

@jason: we don't know how...
Logged
Coppermine is GREAT!!!

Problems with Greek lang of Coppermine? Contact me!
Pages: [1]   Go Up
 

Page created in 0.048 seconds with 18 queries.