Insert image(s) in posts
Posted: 18 June 2008 06:57 AM   [ Ignore ]
Newbie
Rank
Total Posts:  8
Joined  2007-03-22

I’m using this extension now on a site and it works great (custom field hard coded into template). Problem is, the client wants to be able to insert multiple images (preferably with captions) at positions of her choosing in blog posts. Is there any way to do that with the File Extension? The only way I could think of was to create separate custom fields (photo2, photo3, etc.), allow EE tags in entries, and then instruct client how to insert tag. Seems kludgy, but much reading in EE forums doesn’t reveal any great solutions that I could find, so I thought I’d ask here about any ways to use the File extension for this purpose.

Profile
 
 
Posted: 19 June 2008 06:24 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

You could do that, and create seperate popup templates for each field… it would work…

Personally, I’d go with Gallery Extended module. It allows you to upload photos and “relate” them to weblog entries. With a special loop, you could display all related photos alongside the weblog entry.

It has an SAEF form, so it could be done via the Front end. One thing to note is that if you’re doing this through the SAEF, it would have to be a seperate template for the uploading. Basically, you would need to have the weblog SAEF form on one template, and with the help of Solspace’s SAEF Redirect, you can control the redirect to point to another template - with the Entry ID in the URL. This would allow you to dynamically set the Gallery Extended SAEF Form template to know which weblog entry to relate the photos to. smile

Alternatively, Gallery Extended now has a built in “Image Tab” in the Publish/Edit page in the CP, so you can easily do this there as well.

 Signature 
Profile
 
 
Posted: 19 June 2008 07:08 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  8
Joined  2007-03-22

I was looking at the Gallery Extended module as well, but I just don’t get how it works. From the documentation I understand you can associate gallery photos with weblog entries, but how? If a client is using the control panel to enter a blog post in the body field, how do they say “I want this photo after paragraph 3 and that photo after paragraph 5”? I’ve read through the documentation and a lot of support posts about the module, but it’s still not clear whether this kind of client control over positioning is possible. How is positioning of the photos achieved? Can you give any code examples? FYI, I’m not using the SAEF in this instance, but could if that makes this process easier for the client.

Profile
 
 
Posted: 19 June 2008 08:13 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18
vicki - 19 June 2008 07:08 AM

how do they say “I want this photo after paragraph 3 and that photo after paragraph 5”? I’ve read through the documentation and a lot of support posts about the module, but it’s still not clear whether this kind of client control over positioning is possible. How is positioning of the photos achieved?

Sorry… then GX2 will not work for you then smile
There’s no way you can position/place any of the photos to show up in seperate specified locations. It would have to be done as a seperate loop elsewhere.. ex: a list beside the entry, a row below the entry, etc smile

 Signature 
Profile
 
 
Posted: 19 June 2008 08:56 AM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  8
Joined  2007-03-22

OK. That’s kind of what I thought. Thanks for the clarification.

Profile
 
 
Posted: 31 August 2008 06:44 AM   [ Ignore ]   [ # 5 ]
Member
RankRankRank
Total Posts:  67
Joined  2006-01-09

This may seem odd, but I enabled ee code in entries and added Gal extended code to the HTML buttons and using offset am able to add to anyplace in an article.
So Gal1 paces first images, Gal2 the second etc. Kinda hacky but it works..

Image Attachments
galext-buttons.jpg
Profile
 
 
Posted: 02 September 2008 06:59 AM   [ Ignore ]   [ # 6 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

Interesting LOL

 Signature 
Profile