Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-29-2010, 12:23 AM   #1
grannytgp
Confirmed User
 
Join Date: Aug 2002
Posts: 269
Any SmartThumbs gurus around?

Hello all,

Have a couple minor things I'm trying to figure out with SmartThumbs, and looking for someone who I could fire a few questions at over ICQ. As good as ST's support is, it does take them a few days at a time to reply back to support requests on their forum. My ADD and general lack of patience has me looking for a faster response

Any help is appreciated!

ICQ - 14592420
__________________
No sig = good sig
grannytgp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-29-2010, 12:27 AM   #2
boneless
Confirmed User
 
boneless's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: in your head
Posts: 3,625
post the question and ill see if i can help
__________________
icq:148573096 skype:dabone2 email:boneless(a)mgpteam(.)com
boneless is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-29-2010, 12:38 AM   #3
grannytgp
Confirmed User
 
Join Date: Aug 2002
Posts: 269
Quote:
Originally Posted by boneless View Post
post the question and ill see if i can help
One of the things I've been trying to figure out is how to make ST output thumbs with a 1px black border. I can't seem to find a simple on/off setting for this anywhere in the admin. By default thumbs are created with no border. I'm using Imagemagick as my image processor.

If you go into Settings>Groups and then open up advanced edit properties on any group, I do see that you can manipulate the Imagemagick command line. Default command is:
Code:
-filter Blackman -modulate 110,102,100 -sharpen 1x1 -enhance
To create a 1px border, and still maintain the output size for thumbs you would have to create the border on the inside area of the thumb (otherwise the image would be 1px bigger on each edge). The stroke command would work, and just in testing I've found that you can use mogrify as well:
Code:
mogrify -shave 1x1 -bordercolor black -border 1 -format jpg *.jpg
This mogrify command will process all *.jpg files in a given directory. Not entirely sure how to incorporate it into the default Imagemagick command for ST. Or for that matter, if I even have to... because this may be a setting somewhere in the admin that I'm just not seeing.
__________________
No sig = good sig
grannytgp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-29-2010, 01:48 AM   #4
Romario VIP
Confirmed User
 
Romario VIP's Avatar
 
Industry Role:
Join Date: Apr 2010
Posts: 167
You should post those on the support forum, it works like a charm, Goodwill is always helpful !
Romario VIP is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-29-2010, 01:50 AM   #5
boneless
Confirmed User
 
boneless's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: in your head
Posts: 3,625
-filter Blackman -modulate 110,102,100 -sharpen 1x1 -enhance -shave 1x1 -bordercolor black -border 1

try this firstly on one thumbnail in smart thumbs (remember to HANDCROP it if you prescanned the images)

post the results here. Im out for some meds, will report back in like 90 minutes.
__________________
icq:148573096 skype:dabone2 email:boneless(a)mgpteam(.)com
boneless is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-29-2010, 02:27 AM   #6
grannytgp
Confirmed User
 
Join Date: Aug 2002
Posts: 269
Quote:
Originally Posted by boneless View Post
-filter Blackman -modulate 110,102,100 -sharpen 1x1 -enhance -shave 1x1 -bordercolor black -border 1

try this firstly on one thumbnail in smart thumbs (remember to HANDCROP it if you prescanned the images)

post the results here. Im out for some meds, will report back in like 90 minutes.
Modified the Imagemagick command line (from within the group settings - advanced) within SmartThumbs, then imported using the "Scan One File" option. I manually cropped a thumb from the prescanned images, and the resulting thumb DOES have the 1px black border around it. Copied image location and viewed it standalone in a browser just to verify, as SmartThumbs does seem to use black table cell borders quite a bit. Just wanted to make sure the thumb itself had the border, and not the table.

Ok, so now this brings up a couple of things.

1. Is this even really the correct way to handle thumbs with borders?
2. I have a ST database with several thousand galleries, although the site isn't live yet. Ideally I would like all thumbs to have borders... is there any "simple" way to have SmartThumbs re-thumbnail all my existing thumbs so that borders are added?

I suppose I could SSH into the server, and run the Imagemagick command at the top level of /st/thumbs and have it recursively go through each subdirectory. This way it would add borders to all existing images, and filenames would still be intact. Of course I would create a copy of the entire /thumbs directory first. Then with the modified Imagemagick command in place, any new galleries that I add would have the 1px border automatically.

Thoughts?
__________________
No sig = good sig
grannytgp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-29-2010, 02:30 AM   #7
grannytgp
Confirmed User
 
Join Date: Aug 2002
Posts: 269
Quote:
Originally Posted by Romario VIP View Post
You should post those on the support forum, it works like a charm, Goodwill is always helpful !
I did post this on this support forum Romario. I've just been looking to fasttrack this "fix" into my SmartThumbs install, and figured there would be someone on GFY that's already done the same thing. I'm sure Bepe will get back to me soon enough, I just have little patience sometimes
__________________
No sig = good sig
grannytgp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-29-2010, 02:42 AM   #8
beta-tester
Rock 'n Roll Baby!
 
Join Date: Sep 2004
Location: USA, temporarly
Posts: 22,562
why not just use normal HTML/CSS border on your page? You can control its behavior easily plus you won't have to modify the images...
__________________

Sig for sale. Affordable prices. Contact me and get a great deal ;)

My contact:
ICQ: 944-320-46
e-mail: manca {AT} HotFreeSex4All.com
beta-tester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-29-2010, 03:15 AM   #9
grannytgp
Confirmed User
 
Join Date: Aug 2002
Posts: 269
Quote:
Originally Posted by beta-tester View Post
why not just use normal HTML/CSS border on your page? You can control its behavior easily plus you won't have to modify the images...
I originally did try to use regular HTML cell borders, but because of cell spacing the borders came out looking too wide. However, your post made me re-think this and tweak the design a little bit using just CSS borders around the images... and this does do the trick perfectly.

Just a simple:
Code:
border-style:solid;
border-color: black;
border-width:1px;
Thanks for the help anyway boneless, at least I learned a little bit more about tweaking SmartThumbs settings
__________________
No sig = good sig
grannytgp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-29-2010, 04:09 AM   #10
boneless
Confirmed User
 
boneless's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: in your head
Posts: 3,625
Quote:
Originally Posted by grannytgp View Post
Thanks for the help anyway boneless, at least I learned a little bit more about tweaking SmartThumbs settings
NP mate i had the html one as the second option but as you were determined to get it to work in ST i figured to give you the im code ;)
__________________
icq:148573096 skype:dabone2 email:boneless(a)mgpteam(.)com
boneless is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.