Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Attachments, How to post a screen shot and use code boxes

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Message
Author
User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Attachments, How to post a screen shot and use code boxe

#21 Post by GarryRicketson »

Imgur is pretty easy as well, just adding a lower case s to image name/number,
and it automatically makes one.
This "tinypic", it seems on must up load 2 images, they have a option to
resize the image, that includes a "thumbnail" size, 280x 150 (something like that), but then that is all that is displayed, even when "full view" is selected.
I had to upload another image, full size, then use the thumbnail, in the img and
the link to full size one is different.
Thanks for sharing on "postimages".
I use my server, and have a script that uses Image Magick, to resize and adds "tmb" to the name, so then all I need to do is add "tmb" to the name/number, and keep the url name as it is. Example:
Image
=================================

Code: Select all

[url=http://www.parrotsandopenbsd.org/images/guako-exmple.JPG][img]http://www.parrotsandopenbsd.org/images/guako-exmple.JPG-tmb.jpg [/img][/url] 
======================

Code: Select all

for file in *JPG; do
    new_file=`echo $file | sed 's/.jpg$//'`
    convert -resize 25% $file $new_file-tmb.jpg
    #jpegoptim ... $new_file-tmb.jpg
mv *.JPG-tmb.jpg tmb


done
Can be modified easily to include .png, .gif , etc.

Post Reply