Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Image resizing within the CMS?
#13
Connie, I have looked into upload scripts too but I'm not confident enough with my PHP to try and create my own addon. Of the scripts I found this one seemed to be quite powerful in terms of features: http://www.dreamincode.net/code/snippet3233.htm
If someone with PHP skills wants to develop it into a plugin for GS that would be fantastic.

I think it would be a good idea to bring an option to upload images/files into the page editor. So when a user clicks the Image or Link buttons in the editor there is a tab or button for Upload.

This would provide a simplified workflow for the user, because the user doesn't have to upload their images/files in advance from the Files tab. They can be editing a page, think to themselves "I'd like to add a new image here", and do that entirely from the editor. This workflow more closely resembles the workflow in Microsoft Word, and in my experience the more closely a CMS interface resembles a word processor the easier it is for new users to orientate themselves and learn.

If there is the ability to upload within the editor, then I'm not sure whether it is best to resize the files as they are uploaded, or to apply a resizing script to the editor output. By that I mean, instead of having the editor output the code
Code:
<img src="path/to/image.jpg" style="width: 216px; height: 144px;" />
it would output
Code:
<img src="/slir/w216-h144/path/to/image.jpg" />
and use a resizing script such as SLIR: http://code.google.com/p/smart-lencioni-...wiki/Usage

This second option would be more difficult to implement because you would have to parse the output of the editor when the "Save Updates" button is clicked, but it would be a powerful feature.
Reply


Messages In This Thread
Image resizing within the CMS? - by Cerulean - 2011-05-11, 18:48:23
Image resizing within the CMS? - by Connie - 2011-05-11, 19:40:51
Image resizing within the CMS? - by mvlcek - 2011-05-11, 19:45:11
Image resizing within the CMS? - by Cerulean - 2011-05-11, 20:49:50
Image resizing within the CMS? - by Connie - 2011-05-11, 21:34:04
Image resizing within the CMS? - by yojoe - 2011-05-12, 01:45:01
Image resizing within the CMS? - by Cerulean - 2011-05-12, 07:22:12
Image resizing within the CMS? - by datiswous - 2011-05-12, 09:05:44
Image resizing within the CMS? - by Cerulean - 2011-05-12, 09:21:11
Image resizing within the CMS? - by yojoe - 2011-05-12, 21:08:21
Image resizing within the CMS? - by Cerulean - 2011-05-12, 22:08:21
Image resizing within the CMS? - by Connie - 2011-05-12, 22:48:33
Image resizing within the CMS? - by Cerulean - 2011-05-13, 08:58:20
Image resizing within the CMS? - by mvlcek - 2011-05-13, 15:54:05
Image resizing within the CMS? - by datiswous - 2011-05-20, 05:23:54



Users browsing this thread: 1 Guest(s)