Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 16, 2012, 09:55:17 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155094
Posts in
21661
Topics by
7721
Members
Latest Member:
arrow345
WebsiteBaker Community Forum
English
Archive (posts up to 2007)
(Moderator:
Argos
)
optional image resizing to the media area on upload
Pages: [
1
]
Go Down
Author
Topic: optional image resizing to the media area on upload (Read 6231 times)
Olli
Offline
Posts: 290
optional image resizing to the media area on upload
«
on:
January 26, 2006, 10:31:28 AM »
hello,
i just thought it would be damn nice to have automated image resize and/or size reduction with image magick or similiar to the media-area.
for those of you who are not familiar with image-magick and thelike: the programs are linux-libraries for automated image processing after e.g. uploading a picture.
the way it works could be like this:
- you choose to add another picture to the media area of your website
- the picture you choose comes directy from your digital camera and is huge in size
- after finishing uploading image-magick resizes the picture to your presets and the desired file-size
this saves a lot of time and is soooo user-friendly
what do you think?
«
Last Edit: February 08, 2006, 01:11:04 AM by Olli
»
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7970
Re: optional image-magick support to the media area
«
Reply #1 on:
January 26, 2006, 10:47:52 AM »
As image magic is not installed on all webservers this makes no sense, because a lot of users couldn't use this feature.
Matthias
Logged
Olli
Offline
Posts: 290
Re: optional image-magick support to the media area
«
Reply #2 on:
January 26, 2006, 11:15:59 AM »
hello matthias,
that's why i wrote 'optional'...
but you're right: this is not valueable to all.
i'm not sure if there is a way to autodetect stuff like image-magick...let's see.
just thought about the people that are not familiar with image preparation for the web...
you have easy text editing on the one hand, but images still need some preparation by the client.
maybe gd/gd2 (which comes with php) is enough for this, but i'm not sure about it's capabilites yet.
«
Last Edit: January 26, 2006, 02:21:00 PM by Olli
»
Logged
Olli
Offline
Posts: 290
Re: optional image-magick support to the media area
«
Reply #3 on:
February 07, 2006, 11:13:41 PM »
hello everyone,
this evening i tried to include some basic image resize features of the GD libraray to the media area.
so no extensions or configuarations to PHP are needed on this...
basic resizing is working now (more or less to be honest
)
if you might want to try a look copy the attached files into WB_DIR/admin/media
and replace 'template.html' and 'upload.php'.
these files are from wb 2.6.2..
there are still some GD issues messing up the colors which i don't get at the moment.
it's bedtime now - will look at it tomorrow...
bye
«
Last Edit: February 08, 2006, 11:35:40 AM by Olli
»
Logged
Olli
Offline
Posts: 290
Re: optional image resizing to the media area on upload
«
Reply #4 on:
February 08, 2006, 11:38:09 AM »
ok, now resizing works in good colors.
make sure you have at least GD >=2.0 installed. otherwise it'll look crappy...
GD comes with PHP in most cases and should be available on default.
hope you like this. it's no big deal, but i try to give sth. back to this great community
bye
«
Last Edit: February 08, 2006, 11:40:08 AM by Olli
»
Logged
wwwMARKLEYcouk
Offline
Posts: 288
Re: optional image resizing to the media area on upload
«
Reply #5 on:
February 27, 2006, 11:31:52 AM »
cant believe i missed this
excellent work, just what i was looknig for, thanks a lot
Logged
http://www.markley.co.uk
Olli
Offline
Posts: 290
Re: optional image resizing to the media area on upload
«
Reply #6 on:
February 27, 2006, 01:29:05 PM »
thanks dude
Logged
Stu-Art
Offline
Posts: 57
Re: optional image resizing to the media area on upload
«
Reply #7 on:
March 01, 2006, 04:44:48 PM »
This works really well. Can you also add an option to upload Zip file and extract them to the selected media directory, also applying the same resizing options?
Stu...
Logged
Olli
Offline
Posts: 290
Re: optional image resizing to the media area on upload
«
Reply #8 on:
March 01, 2006, 05:06:23 PM »
hello stu-art,
you're thinking about gallery preparation in some way,right?
yeah why not...
unfortunately i'm quite busy at the moment so it might take some time...
bye
Logged
tomhouy
Offline
Posts: 17
Re: optional image resizing to the media area on upload
«
Reply #9 on:
April 26, 2006, 08:59:17 PM »
wouldn't you still have to upload the file full size though, before image magic can do anything? In other words, if you have 50 pictures, and they're all about 2-3mb each, it would still take a while for them to all upload before they can be shrunk down to a smaller file size.
Logged
pcwacht
Guest
Re: optional image resizing to the media area on upload
«
Reply #10 on:
April 26, 2006, 09:04:53 PM »
True
ImageMagick (and GD btw) are on the server. So if they want to do something on the pictures the pictures needs to be on the server.
John
Logged
mysticcowboy
Offline
Posts: 200
Re: optional image resizing to the media area on upload
«
Reply #11 on:
May 06, 2006, 11:17:02 PM »
It seems like trying to do batch resizing on the server has some problems. Besides the extra bandwidth and storage for larger pictures, theres the slower speed on server side execution compared to doing the resizing locally. GD and ImageMagick are not speedy.
There are so many photo gallery programs that work on the desktop, that's not counting the gallery functions in editors like Photoshop that you'd be better off doing this at home.
And if you're adding this feature for others, it's much better to not give anybody the ability to upload multiple large photos at once. Too, too many times I've seen people try to upload directly from their camera.
The other option is to use the Flickr module. You can batch upload to Flickr and mash the photos into WB.
Logged
michael mckee
www.mactheweb.com
Mac and Web Design, the perfect marriage
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...