Hello!

I use the insert module and the image_resize_filter module to insert images into nodes.

Field_slideshow works with via insert uploaded images but I can't resize or positioning the slideshow inside the node. Is it possible to create a slideshow with the uploaded images (image field) and show the slideshow inside the node (positioned like or with the image_resize_filter/ insert modules with drag&drop)?

Best regards

Comments

jdanthinne’s picture

Unfortunately, I don't think so, because Insert only works with single files/images.
Have you asked to quicksketch, the Insert module maintainer (god-like)?

JohnnyX’s picture

Ok, I'll ask quicksketch.

Is it possible to position the slideshow inside a node (floated left or right...)?
Set size of the slideshow/ image inside the node should be possible (as thumbnail slideshow with colorbox fullsize image for example).

jdanthinne’s picture

What do you mean by "inside the node"? A field is always inside a node ;-)
And you can set the image size by choosing the correct image style in the "Display fields" settings.

JohnnyX’s picture

Ok, but I need a positioned slideshow (float left or right, set row to insert to) like you add a image to a article (into text body) with a wysiwyg editor.

Any idea get it with this or an other module?

jdanthinne’s picture

Status: Active » Postponed

The only module I think could do that is… Insert, for sure, but it needs to be modified, and to be honest, I'm not able to understand how to… Field Slideshow generates so much more code (and script) than a single image/file to be inserted in the body text.
If you get in touch with quicksketch, let me know what he thinks about it.

JohnnyX’s picture

He answered my question here
Insert can be configured to insert whatever you want based on a given File ID and Node, but it seems to me that Insert is ill-equipped to insert a slideshow. A slideshow is multiple images, not a single file. Of course there's no way Insert could actually provide a slideshow, you'd need to use some other module that provides slideshows and then have that module insert its markup into the body (or use a filter to output the slideshow on output). I don't think this is a feature request that can be possibly implemented by Insert.

jdanthinne’s picture

Status: Postponed » Needs work

That gives me an idea… and perhaps a solution.
I could provide a filter, and by inserting a special code in the body text, the ouput would include the slideshow.
Just give me some time to find how.

JohnnyX’s picture

Sounds good! :)

jdanthinne’s picture

Doesn't sounds good after trying and asking… How to access fields from a filter?.
Filter doesn't seem to be a good solution after all.
Still searching…

JohnnyX’s picture

I don't know how to work with fields. Is it possible to hide the field and insert the content to the body?
And if it isn't possible with field_slideshow could it done with a new module?

I implemented a D6 slideshow with hidden images at the body and changed the visible image via javascript. It's a quick and dirty solution (would replace it with a better D7 solution...) and works also with Colorbox.

Is it possible to get the image from fields with javascript one after the other and show/ insert it in the body field?

JohnnyX’s picture

Hi jdanthinne,

any new ideas to insert a slideshow into the body. I tested some modules but no chance... If there is no simple solution I'll try to build the slideshow as a view (no problem with field_slideshow and maybe views_slideshow) and insert the view into the body. Could be work with
http://drupal.org/project/insert_view
http://drupal.org/project/viewfield

Not tested yet because I tried to insert it in an easier way...

JohnnyX’s picture

insert_view is the solution for my case. Create a Node with field_slideshow, generate a view of it (only the slideshow) and than insert it with insert_view module...

It should be easier with insertNode but no D7 version available ;)

majikthise’s picture

Hi. Have you tried doing this with CSS?

Here's how I did it (my content type is "slide-show-page" and the slide show image field is "field-slider"):

div.node-slide-show-page div.field-name-field-slider {float: right;}

Seems to work fine for me. Also, to achieve some control over the vertical position of the slideshow, I have a separate field for any content that has to appear above the slideshow. i.e. my content type has the slideshow sandwiched between two text areas.

My users find this approach much easier to get their heads around than inserting tags in the text.

timdavison’s picture

Issue summary: View changes

You can do this with node_field_embed

https://www.drupal.org/project/node_field_embed

lamp5’s picture

Status: Needs work » Closed (works as designed)