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: [Solved]: Let users change there thumbs  (Read 4032 times)

0 Members and 1 Guest are viewing this topic.

hanzie

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
[Solved]: Let users change there thumbs
« on: May 15, 2008, 11:50:23 pm »

Hello,

With your fantastic modpack admins can upload a custom thumbnail for the images in the gallery.
Now would it be possible with some minor changes to let the users change the thumbnails of there uploaded images?
In other words let the user use a custom thumbnail.

If this already in your mod, could you please explain how. I have checked your docs, but i couldn't find it.

Thanks for reading.
« Last Edit: May 16, 2008, 12:52:07 pm by Stramm »
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Let users change there thumbs
« Reply #1 on: May 16, 2008, 09:38:17 am »

possible...
custom thumb addition: Manually crop thumbs / replace thumbs for images and media
http://forum.coppermine-gallery.net/index.php/topic,47538.0.html
docs:
http://forum.coppermine-gallery.net/index.php/topic,28367.msg131255.html#msg131255
Quote
Manually crop thumbs / replace thumbs for images and media
1. Either next to an album click 'edit files' or below the intermediate image click 'edit file information'. Now you'll find above the thumb a link 'change thumb'. That's not really new for modpack users but read on.
2. Click the change thumb link and find the 'changeThumb.php' interface. Now you not only can create new thumbs for media files but also for images. You can upload new images or (if the original is an image) create the thumb from the image again. Also you can decide if you want to let the system automatically create thumbs or do that manually to find the best part of the image.
3. If you decide to upload a new image to create a thumb from that you have the possibility to check the checkbox 'Manually crop after upload'. If you do that, manually cropping is enabled, if not, the system auto crops the image (of course that's faster). If you manually crop, the image loads and a box appeares that indicates the area that will be cropped. This area has a min size of your thumb dimensions and will keep the aspect. So far I've tested with the modpacks 'exact size' thumbs and did some quick'n dirty tests with 'width' and 'height'. When you've found the part of the image you want to use as thumb click the 'save' button. Done... you just created a new custom thumb for your picture or media file.
4. a) Either upload a image to use as base for cropping
      aa) manually crop (checkbox 'Manually crop after upload')
      bb) auto crop (don't check 'Manually crop after upload')
    b)
       aa) click (if the orig is an image) 'Use the original image as base to crop the thumb' and you can manually crop the thumb from the original image
     c) check the checkbox 'Remove current thumb' and click the button 'Remove current thumb' to delete the custom thumb. If it's a media file, then the media icon will display, if it's an image... then no thumb will display anymore.
more info/ screenshots: http://forum.coppermine-gallery.net/index.php?topic=47538.msg227090#msg227090

hanzie

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Let users change there thumbs
« Reply #2 on: May 16, 2008, 10:20:13 am »

As an admin i can indeed change the thumbnails.
But my users don't see the link to do that. They only see the thumbnail and not the link to change it.

I have bridged my Coppermine Gallery with SMF.
Perhaps that is part of my problem?
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Let users change there thumbs
« Reply #3 on: May 16, 2008, 11:11:32 am »

additionally in config 'users can edit their pics' needs to be enabled
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_user

follow the first link in my above post and use the login to my demo site. You'll see, you can crop/upload thumbs.

hanzie

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Let users change there thumbs
« Reply #4 on: May 16, 2008, 11:32:37 am »

Thank you that worked!

To be 100% correct that option is called: "Allow users to retain control over their pics in public galleries".
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.