[Solved]: Let users change there thumbs [Solved]: Let users change there thumbs
 

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

Main Menu

[Solved]: Let users change there thumbs

Started by hanzie, May 15, 2008, 11:50:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hanzie

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.

Stramm

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
QuoteManually 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

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?

Stramm

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

Thank you that worked!

To be 100% correct that option is called: "Allow users to retain control over their pics in public galleries".