|
|
|
|
|
Joined: Thu Sep 27 2007, 05:30PM
Posts: 4
|
Thu Sep 27 2007, 06:33PM
|
|
|
Hi SecretR or anyone who can help,
I have the gallery 2.01b installed and working, many thanks for a superb plugin.
I have a couple of little issues that I can live with but a fix would make life sweeter :D
First, when using autoresize, I have dimensions set to 1024x768, if I upload a picture from my 10mp (3872x2592) camera it resizes to 1023x685 instead of 1024x685, I assume this is due to a rounding error somewhere.
Second, auto-resize is obviously checking for exact match on the width and height as the autoresize icon is still displayed on the 1023x685 images, this then causes a problem with watermarking as it re-applies the watermark if you click the icon.
Personally, I would prefer if the dimension check was (picx>width or picy>height) rather than (picx=width and picy=height) which it appears to be doing now. If both dimensions are below the size limit there is not really much point in resizing the image, I have turned on force aspect ratio to work around this but that is far from ideal as it causes the watermark to appear in the added white space instead of the image.
Third, the thumbnailing only appears to work if the image is re-sized, which nicely foiled my attempt at batch resizing in PSCS3 and uploading them without resizing on site. Besides which, the users I am likely to have on the site will be incapable of resizing an image prior to upload, and most likely will need 3 hours training to actually upload anything at all LOL
While I am gobbling up your processor time a couple of ideas for the future..
Any plans for making each album have a userclass list to view? As in, albums a,b,c viewable by userclass only_boring_pics - albums x,y,z only viewable by userclass you_get_juicy_pics. I would like to be able to let members have albums with more risqué pics, and other members who cannot access them but still have access to albums with non risqué images.
And what about a radio button on the images in the picture manager with bulk resize/ delete etc, it's a very long winded process waiting for refresh if you have lots of pictures in the album.
Any assistance with any of the above would be greatly appreciated.
e107: Version 0.7.8 Site Theme: e107v4a-pink Server: Apache/1.3.37 (Unix), mod_fastcgi/2.4.2, mod_auth_passthrough/1.8, mod_log_bytes/1.2, mod_bwlimited/1.4, FrontPage/5.0.2.2635.SR1.2, mod_ssl/2.8.28, OpenSSL/0.9.7a, (host: www.bratpack.org.uk ) PHP Version: 5.1.6 MySQL: 5.0.37-standard-log Charset:utf-8
[ Edited Thu Sep 27 2007, 07:57PM ]
|
|
|
|
e107 developer
Joined: Sat Nov 18 2006, 06:29PM
Posts: 1170
|
Thu Sep 27 2007, 11:28PM
|
|
|
Reading your post I'm happy to understand CL gallery is used by very experienced webmasters/site owners. I'll make your post sticky and I'll read it frequently when I'm working on the improvement of CL Gallery.
Now some answers:
when using autoresize, I have dimensions set to 1024x768, if I upload a picture from my 10mp (3872x2592) camera it resizes to 1023x685 instead of 1024x685, I assume this is due to a rounding error somewhere. I'm familiar with this issue. The auto-resizing is a feature of phpThumb library. I'm just passing the max width and height of the destination image and the lib gives its best to fit the dimensions. I can't identify why and where the additional pixel comes from. I few months ago I was thinking to pass only the one value (width or height) - not sure it'll fix the problem. At this time you could try to give the path to the imageMagic on your server (if installed). I'll ask the author of the phpThumb lib about this issue.
auto-resize is obviously checking for exact match on the width and height as the autoresize icon is still displayed on the 1023x685 images, this then causes a problem with watermarking as it re-applies the watermark if you click the icon. It's in the TO DO list (exactly as described by you). I personally don't like the way watermark is applied in the current version. It should be done dynamic - the original image should be left untouched. However this is not so easy as I should always output the image using php (no direct image link even when Lightbox is in the game) - I have to thing about the server performance all the time.
the thumbnailing only appears to work if the image is re-sized, which nicely foiled my attempt at batch resizing in PSCS3 and uploading them without resizing on site. Besides which, the users I am likely to have on the site will be incapable of resizing an image prior to upload, and most likely will need 3 hours training to actually upload anything at all LOL Partially answered above. Furthermore watermark is not applied when remote Windows Batch upload is used. The watermark is in a very beta stage - I'll maybe add a tool to apply a watermark to multiply images... or something smarter. I really don't know yet.
Any plans for making each album have a userclass list to view? As in, albums a,b,c viewable by userclass only_boring_pics - albums x,y,z only viewable by userclass you_get_juicy_pics. I would like to be able to let members have albums with more risqué pics, and other members who cannot access them but still have access to albums with non risqué images. In the TO DO list as well (at first places). Activate/Deactivate will be replaced by userclass combo. I just don't have enough time yet.
And what about a radio button on the images in the picture manager with bulk resize/ delete etc, it's a very long winded process waiting for refresh if you have lots of pictures in the album. You are stealing my ideas! Where did you find my todo.txt :) Seriously - it'll be done too as soon as possible.
|
|
|
|
Joined: Thu Sep 27 2007, 05:30PM
Posts: 4
|
Fri Sep 28 2007, 05:51PM
|
|
|
Thanks for the quick reply, what a pleasant change that makes ;)
I am not sure where you get the idea I am an experience webmaster/ site owner LOL, I just plod along and soak up any information I have to find to proceed (its amazing what you find out when trying to skin a CMS isn't it) ;) www.clydevalleyflyers.com/index2.php is/ was the pinnacle of my career in webmistressing but I'm hoping my personal site www.bratpack.org.uk will be better now I have found e107 and your excellent plugin, I have huge plans for the site, which will probably never materialise lol...
Anyway, I think having a check box in each image with buttons for bulk resize, delete, AND watermark would be the best way forward, users could then decide if they want to watermark or resize, I know some photography types are a bit funny about messing with their creation lol
Your reply raised another point which is probably in the same TXT I stole the other suggestions from..
Regarding server preformance:
I have had problems with my host temporarily suspending my account due to being a greedy processor hogging pig (they put it slightly more polite than that but that's what they meant)
When members uploaded several large pictures (not with CL, on another site using CPG) the spike in processor usage triggered a 2 minute shut down of my hosting so on that site I disabled resizing of images altogether and forced them to resize locally before uploading. However, with coppermine you can still restrict the size of uploaded images and they are rejected if they are too big with a message indicating this..
So, any chance of image size checking and rejecting instead of resizing? would definately be worth having :P
PS that avatar is way cool, I just love tigers :D
[ Edited Fri Sep 28 2007, 05:52PM ]
|
|
|
|
e107 developer
Joined: Sat Nov 18 2006, 06:29PM
Posts: 1170
|
Sat Sep 29 2007, 01:30AM
|
|
|
Read our forums and the way the most of the people are asking for help and you'll see you're more experienced as you think :) All your questions are 'bull eye'.
About your new request - it didn't exist in my TO DO :) but it's interesting enough and it's already added. Some thoughts in this direction. You could try to reject the pictures by filesize - it's near the same. There is dependence between image dimensions and image filesize so you could make some tests. Another thing you've maybe missed - ImagMagic is really magic tool. It's used for resizing and is more faster with less CPU overhead. Ask your hosting for the server path to the imageMagic on your server and set it in phpThumb.config.php
P.S. the avatar is painted by our concept designer (stoewarius) - it's unique (as SecretR is :) ). Check this out - http://www.free-source.net/e107_plugins/sgallery/gallery.php?view.5.1
[ Edited Sat Sep 29 2007, 01:31AM ]
|
|
|
|
|
|
Moderators: SonicE, veskoto, SecretR, Stoewarius, steved, McFly, Cameron, yanniiwanow
|
|