What is the best practice for uploading inline images?
Effectively what I would like to achieve is that the users are presented with a simple Upload *from their computer* facility, and not be able to browse images already uploaded to the server.
I fear this is a really contentious issue with Drupal, and I'm sure many people feel as I do that there should be transparent and unified method for providing users with a simple and effective image upload facility.
At this stage I'm leaving well alone, as I don't want to be caught out with something like image.module and img_assist - again - on the next major version upgrade.
If you want them to upload a single image that you then theme then I use image_field for that.
IF you want them to embed an image into their content then I generally use IMCE, which can be configured to create separate directories for each user so that they can see their own images. You can also configure different image repositories for roles.
I to tried image_assist and img_assist but started changing strategies in D6. Looks like IMCE has a stable release allready for d7.
Dave
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Jeff Sent: Monday, February 28, 2011 10:53 AM To: support@drupal.org Subject: [support] Drupal 7: inline images with wysiwyg
What is the best practice for uploading inline images?
Effectively what I would like to achieve is that the users are presented with a simple Upload *from their computer* facility, and not be able to browse images already uploaded to the server.
I fear this is a really contentious issue with Drupal, and I'm sure many people feel as I do that there should be transparent and unified method for providing users with a simple and effective image upload facility.
At this stage I'm leaving well alone, as I don't want to be caught out with something like image.module and img_assist - again - on the next major version upgrade. -- [ Drupal support list | http://lists.drupal.org/ ]
On 28 Feb 2011, at 8:59 PM, Metzler, David wrote:
If you want them to upload a single image that you then theme then I use image_field for that.
Yep, that's what I got, but am also allowing 'multiple' uploads.
I just found a module called insert, which is pretty close to the simplicity I'm looking for. At first I thought it didn't work: when you insert the image_field you've just uploaded, it displays twice. But you can control that in Content Type - Manage Display. w00t!
IF you want them to embed an image into their content then I generally use IMCE, which can be configured to create separate directories for each user so that they can see their own images. You can also configure different image repositories for roles.
Yep, been caught out on that one too, when migrating from image.module to CCK and imagefield in D6 and the user's nodes lost access to their image directories.
Thing is, apart from some arcane academic use-case scenario, 99.9% of users really don't need to have their own directory. Ever. They need to upload a photo, size and place it in wysiwyg, and that's all.
I know private user directories is a configurable option in IMCE, but the front-end is clunky and unnecessary IMHO (and somewhat ignorant opinion).
I to tried image_assist and img_assist but started changing strategies in D6. Looks like IMCE has a stable release allready for d7.
I'm sorry, but I just don't like it. The insert module is close, but it should be integrated into the file_ / image_field upload so that you don't have to click on [Insert].
That's probably trivial for someone who knows PHP.
Anyone got a hint for how to automatically invoke the Insert module on image_field Upload?
Thanks for the input!
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Jeff Sent: Monday, February 28, 2011 10:53 AM To: support@drupal.org Subject: [support] Drupal 7: inline images with wysiwyg
What is the best practice for uploading inline images?
Effectively what I would like to achieve is that the users are presented with a simple Upload *from their computer* facility, and not be able to browse images already uploaded to the server.
I fear this is a really contentious issue with Drupal, and I'm sure many people feel as I do that there should be transparent and unified method for providing users with a simple and effective image upload facility.
At this stage I'm leaving well alone, as I don't want to be caught out with something like image.module and img_assist - again - on the next major version upgrade. -- [ Drupal support list | http://lists.drupal.org/ ] -- [ Drupal support list | http://lists.drupal.org/ ]
On Mon, 2011-02-28 at 20:52 +0200, Jeff wrote:
What is the best practice for uploading inline images?
Effectively what I would like to achieve is that the users are presented with a simple Upload *from their computer* facility, and not be able to browse images already uploaded to the server.
I fear this is a really contentious issue with Drupal, and I'm sure many people feel as I do that there should be transparent and unified method for providing users with a simple and effective image upload facility.
At this stage I'm leaving well alone, as I don't want to be caught out with something like image.module and img_assist - again - on the next major version upgrade.
I usually use fields to attach images to nodes, then us it in the wysiwyg.
I hope that "inline" module will be ported soon (if not already). Else I would like to the "media" module, it should be well featured for media handling, maybe it has those kind of helpers.
Pierre.
On Mon, 2011-02-28 at 21:02 +0100, Pierre Rineau wrote:
On Mon, 2011-02-28 at 20:52 +0200, Jeff wrote: I usually use fields to attach images to nodes, then us it in the wysiwyg.
I hope that "inline" module will be ported soon (if not already). Else I would like to the "media" module, it should be well featured for media handling, maybe it has those kind of helpers.
Pierre.
s/inline/insert :)
Pierre.
Jeff,
I think the Insert module is your best bet. It works with many file uploading approaches.
http://drupal.org/project/insert
Shai
On Feb 28, 2011, at 1:52 PM, Jeff jeff@wildcoast.com wrote:
What is the best practice for uploading inline images?
Effectively what I would like to achieve is that the users are presented with a simple Upload *from their computer* facility, and not be able to browse images already uploaded to the server.
I fear this is a really contentious issue with Drupal, and I'm sure many people feel as I do that there should be transparent and unified method for providing users with a simple and effective image upload facility.
At this stage I'm leaving well alone, as I don't want to be caught out with something like image.module and img_assist - again - on the next major version upgrade. -- [ Drupal support list | http://lists.drupal.org/ ]
Thanks Shai,
That's what I just discovered. :-)
I don't mind clicking on the Insert button myself, but it would be really nice to have it automatically insert into the wysiwyg body on Upload.
Any suggestions?
On 28 Feb 2011, at 10:02 PM, Shai Gluskin wrote:
Jeff,
I think the Insert module is your best bet. It works with many file uploading approaches.
http://drupal.org/project/insert
Shai
On Feb 28, 2011, at 1:52 PM, Jeff jeff@wildcoast.com wrote:
What is the best practice for uploading inline images?
Effectively what I would like to achieve is that the users are presented with a simple Upload *from their computer* facility, and not be able to browse images already uploaded to the server.
I fear this is a really contentious issue with Drupal, and I'm sure many people feel as I do that there should be transparent and unified method for providing users with a simple and effective image upload facility.
At this stage I'm leaving well alone, as I don't want to be caught out with something like image.module and img_assist - again - on the next major version upgrade. -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Jeff Brown
Tel:+27-74-101 5170 Fax:+27-86-532 3508 www.wildcoast.co.za
Op maandag 28 februari 2011 19:52:54 schreef Jeff:
I fear this is a really contentious issue with Drupal, and I'm sure many people feel as I do that there should be transparent and unified method for providing users with a simple and effective image upload facility.
Ik would be great if the interface would be similar compared to the Wordpress image upload wizard. That was is very easy to work with.
Insert works very well for many of my clients because the upload the image, select a size (imagecache preset) and add their alt text. They push insert after adding more information about the image.
We also use IMCE for other use cases like people who need to use the same image on multiple pages but Noy consistently enough to just theme it.
Hope this helps.
-Steve
Steve Kessler Owner, DenverDataMan (303) 587-4428
This email was sent from my Droid. On Mar 1, 2011 5:23 AM, "Richard" ml@radoeka.nl wrote:
Op maandag 28 februari 2011 19:52:54 schreef Jeff:
I fear this is a really contentious issue with Drupal, and I'm sure many people feel as I do that there should be transparent and unified method for providing users with a simple and effective image upload facility.
Ik would be great if the interface would be similar compared to the
Wordpress
image upload wizard. That was is very easy to work with.
-- Richard -- [ Drupal support list | http://lists.drupal.org/ ]
Op dinsdag 01 maart 2011 13:23:43 schreef Richard:
Op maandag 28 februari 2011 19:52:54 schreef Jeff:
I fear this is a really contentious issue with Drupal, and I'm sure many people feel as I do that there should be transparent and unified method for providing users with a simple and effective image upload facility.
Ik would be great if the interface would be similar compared to the Wordpress image upload wizard. That was is very easy to work with.
Yesterday a module was released (a new version of the module) that does this, it is called image picker and its url is: http://drupal.org/project/imagepicker It's a nice module :)
On 02 Mar 2011, at 10:20 PM, Richard wrote:
Op dinsdag 01 maart 2011 13:23:43 schreef Richard:
Op maandag 28 februari 2011 19:52:54 schreef Jeff:
I fear this is a really contentious issue with Drupal, and I'm sure many people feel as I do that there should be transparent and unified method for providing users with a simple and effective image upload facility.
Ik would be great if the interface would be similar compared to the Wordpress image upload wizard. That was is very easy to work with.
Yesterday a module was released (a new version of the module) that does this, it is called image picker and its url is: http://drupal.org/project/imagepicker It's a nice module :)
Thanks for that heads up, Richard. It does look very cool, and I would have jumped at it 3 or 4 days ago! (Before I discovered "insert"!)
Best of all it doesn't have a clunky front-end, and simply uses your computer's browser to locate the image. Then Upload, then press Insert, and you're done: )
Almost nothing to do to install and get it up and running, too, and the only 'gotcha' I can see is that it puts the uploads into per user directories. (The gotcha I'm referring to is when I converted D6 images to imagefield and the user created nodes lost their permissions.) I'm still convinced that users rarely, if ever, need to refer back to their old images, and that feature adds confusing complexity for end-users. Think about it like with Facebook. You create 'galleries' and images are tagged to appear in users and groups. But it's not like you ever get presented with the option or need to re-insert an image that you uploaded before. (Okay, on second thoughts and checking out the Groups and Public options with imagepicker, I'll provisionally retract that, as I can possibly foresee some use-case scenarios - maybe - but they don't apply to me.)
It's probably too much to hope for consensus, but personally I'm still tending towards the very simple imagefield + insert modules. I can simply override and scale the image sizes in the imagefield settings, so that all my user upload displays are consistent with the site's theme.
I'm not the most skilled Drupal user by any means, so please take my views with a pinch of salt. But I have been using Drupal since 2006 and been upgrading along the way from 4.7 to 6.x. Now, to leave the upgrade bugs behind (image! yah!), I've decided to start fresh on D7 and I'm using node_export to bring my content across, and rebuilding a lot manually.
I'd love to hear everyone else's thoughts and experiences...
On 28/02/11 18:52, Jeff wrote:
What is the best practice for uploading inline images?
Effectively what I would like to achieve is that the users are presented with a simple Upload *from their computer* facility, and not be able to browse images already uploaded to the server.
I fear this is a really contentious issue with Drupal, and I'm sure many people feel as I do that there should be transparent and unified method for providing users with a simple and effective image upload facility.
At this stage I'm leaving well alone, as I don't want to be caught out with something like image.module and img_assist - again - on the next major version upgrade.
I'm also interested in a good image management system for drupal 7. What I would like is to have a main image for each node (which I can style differently in the teaser and main image display), but also to be able to add images to the body of a text using wysiwyg. The two should work together, at least enough that they can be configured to store files in the same place.
Insert plus filefield looks pretty good, but is missing the following things I would like (in order of preference): - the main thing is that file fields don't currently have an image browser - you get an upload file button but no way of browsing for existing images. This is pretty essential for us. - also there is no facility to restyle the images - e.g. float left or right. (You can change the size using imagecache presets, but this isn't the same as css styling.) I could add this using css classes, but it's not an intuitive solution for end users. - tags on image fields would be really nice to make them easier to manage later. - another nice but non-essential feature would be if the image browser used views so we could define our own ways of accessing previously uploaded files. ImageBrowser does this but there is no D7 version (yet?)
I might be up for coding some or all of these features if there isn't something out there already, but obviously would rather not if there's something written already.
andy
Hi Andy,
Richard kindly pointed out that http://drupal.org/project/imagepicker was released at the beginning of this month, and seems to do most of what you require.
HTH
On 07 Mar 2011, at 11:26 PM, andy baxter wrote:
On 28/02/11 18:52, Jeff wrote:
What is the best practice for uploading inline images?
Effectively what I would like to achieve is that the users are presented with a simple Upload *from their computer* facility, and not be able to browse images already uploaded to the server.
I fear this is a really contentious issue with Drupal, and I'm sure many people feel as I do that there should be transparent and unified method for providing users with a simple and effective image upload facility.
At this stage I'm leaving well alone, as I don't want to be caught out with something like image.module and img_assist - again - on the next major version upgrade.
I'm also interested in a good image management system for drupal 7. What I would like is to have a main image for each node (which I can style differently in the teaser and main image display), but also to be able to add images to the body of a text using wysiwyg. The two should work together, at least enough that they can be configured to store files in the same place.
Insert plus filefield looks pretty good, but is missing the following things I would like (in order of preference):
- the main thing is that file fields don't currently have an image
browser - you get an upload file button but no way of browsing for existing images. This is pretty essential for us.
- also there is no facility to restyle the images - e.g. float left or
right. (You can change the size using imagecache presets, but this isn't the same as css styling.) I could add this using css classes, but it's not an intuitive solution for end users.
- tags on image fields would be really nice to make them easier to
manage later.
- another nice but non-essential feature would be if the image browser
used views so we could define our own ways of accessing previously uploaded files. ImageBrowser does this but there is no D7 version (yet?)
I might be up for coding some or all of these features if there isn't something out there already, but obviously would rather not if there's something written already.
andy
[ Drupal support list | http://lists.drupal.org/ ]
On 08/03/11 04:09, Jeff wrote:
Hi Andy,
Richard kindly pointed out that http://drupal.org/project/imagepicker http://drupal.org/project/imagepickerwas released at the beginning of this month, and seems to do most of what you require.
It does most of the things on the wishlist I posted, but doesn't do some other things that filefield (plus insert) does. E.g. storing files based on paths with token strings (e.g. by date).
I think what I'll do is leave the image management till a bit later in the project (this site will take me a few months part time work), and have another look then. I like the way the Media module seems to be heading, but it's not there yet.
andy
HTH
On 07 Mar 2011, at 11:26 PM, andy baxter wrote:
On 28/02/11 18:52, Jeff wrote:
What is the best practice for uploading inline images?
Effectively what I would like to achieve is that the users are presented with a simple Upload *from their computer* facility, and not be able to browse images already uploaded to the server.
I fear this is a really contentious issue with Drupal, and I'm sure many people feel as I do that there should be transparent and unified method for providing users with a simple and effective image upload facility.
At this stage I'm leaving well alone, as I don't want to be caught out with something like image.module and img_assist - again - on the next major version upgrade.
I'm also interested in a good image management system for drupal 7. What I would like is to have a main image for each node (which I can style differently in the teaser and main image display), but also to be able to add images to the body of a text using wysiwyg. The two should work together, at least enough that they can be configured to store files in the same place.
Insert plus filefield looks pretty good, but is missing the following things I would like (in order of preference):
- the main thing is that file fields don't currently have an image
browser - you get an upload file button but no way of browsing for existing images. This is pretty essential for us.
- also there is no facility to restyle the images - e.g. float left or
right. (You can change the size using imagecache presets, but this isn't the same as css styling.) I could add this using css classes, but it's not an intuitive solution for end users.
- tags on image fields would be really nice to make them easier to
manage later.
- another nice but non-essential feature would be if the image browser
used views so we could define our own ways of accessing previously uploaded files. ImageBrowser does this but there is no D7 version (yet?)
I might be up for coding some or all of these features if there isn't something out there already, but obviously would rather not if there's something written already.
andy
[ Drupal support list | http://lists.drupal.org/ ]