You kno how people put captions with images...?

Discuss news styles, css code, and other Coranto customizations in here...the possibilities are endless, so have at it!

Moderator: Spunkmeyer

You kno how people put captions with images...?

Postby Esstee » Wed Jun 08, 2005 4:49 pm

I was wondering, what approach would someone use to get that done?
I have been fighting with image upload, formating and placement since
I began my newsroom project, at some point some of the challenges
did seem to get resolved but now as I begin some live article publishing
the whole images thing is really not good.

Ideally I think there would be a system that would allow us to upload,
place and create captions in coranto, then... we could use image tags
or something or other that would allow us to make those images appear
wherever we wanted.

Something like that perhaps?

I really don't know what is ideal because I have not experienced anything
else but there must be a system out there that allows the news publishers
to do that in an easier way that we do now yes?
I went deeper into the belly of Coranto and look! I found maginot.
User avatar
Esstee
 
Posts: 320
Joined: Thu Nov 25, 2004 4:13 pm
Location: Deep in some project

Re: You kno how people put captions with images...?

Postby SrNupsen » Wed Jun 08, 2005 5:21 pm

Esstee wrote:I was wondering, what approach would someone use to get that done?


I suggest HTML.

SrNupsen
-----------------------------------------------------------------------------------------------------
Coranto is free software. I am available for custom work or troubleshooting.

http://www.sundaune.no - transkripsjon, webdesign, nettsider, tekstbyrå
http://www.vagbladet.no - satire, politikk, kultur, sport, nettavis
-----------------------------------------------------------------------------------------------------
SrNupsen
 
Posts: 2229
Joined: Tue Jan 09, 2007 6:46 pm
Location: Nesodden, outside Oslo, Norway

Postby muttly » Wed Jun 08, 2005 9:53 pm

Are you using Xmultisubmit? I use Coranto to build sites that are largely static in the sense that there isn't a daily/weekly turnover of info on most pages, instead my clients are looking for a certain amount of flexibility and ease of use when they do change the content of a page. After I determine the appropriate kind of Maginot structure, I build a unique submission page that looks something like this:

Teaserhead: [single line text field]
TeaserImage: [Image Upload]
TeaserText: [multi line text field]
---------------------------------------

Subject: [single line text field]
Subhead 1: [single line text field]
Image 1: [Image Upload]
Shift Image 1: [dropdown - left|right|top]
Text field 1: [multi line text field]

---------------------------------------
Subhead 2: [single line text field]
Image 2: [Image Upload]
ShiftImage 2: [dropdown - left|right|top]
Text Field 2: [multi line text field]

---------------------------------------
Subhead 3: [single line text field]
Image 3: [Image Upload]
Shift Image 3: [dropdown - left|right|top]
Text field 3: [multi line text field]

Then I write styles with a ton of conditionals so a submitter can fill out whatever fields are appropriate to their content without breaking the layout.

Code: Select all
<If: Field: CustomField_AddImage1>
   <img class="<Field: CustomField_ShiftImage1>" src="<FilePath: CustomField_Image1>" alt="" />
</If><h2><Field: Subject></h2>

<If: Field: CustomField_Subhead1>
   <h3><Field: CustomField_Subhead1></h3>   
</If>
<If: Field: CustomField_TextField1>
   <p><Field: CustomField_TextField1></p>
</If>
(step & repeat)

I ignore the prefab Text field in favor of a consitent naming convention. Teaser content writes to a separate profile, Fields left empty don't display. A CSS class determines the whether the image shifts to the right or the left.

It's not perfect, users still outwit me by attempting to place mongo huge images or writing way more copy than was ever intended and I suspect there is more I could be doing to automate too, but I think the same strategy could be adapted for adding (or not adding) captions.
muttly
 
Posts: 178
Joined: Mon Jun 10, 2002 8:19 pm

Postby Esstee » Thu Jun 09, 2005 11:41 pm

muttly I like your idea, and in light of everything so far your system
may be a good alternative to an ongoing challenge in content management.

as far as users breaking your layout you could enforce a simple max image
size on your site using phpthumbnailer, I use it and its really nice it allows
you to control max dimensions and allows unedited images to get published
within the set parameters otherwise it will auto resize them until one of the
size lmitations is met either width or height.

did I say it was really nice?
I went deeper into the belly of Coranto and look! I found maginot.
User avatar
Esstee
 
Posts: 320
Joined: Thu Nov 25, 2004 4:13 pm
Location: Deep in some project


Return to Customization

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron