Increasing the number of characters in the image upload "info" fields

3 posts by 2 authors in: Forums > CMS Builder
Last Post: October 25, 2021   (RSS)

By CommonSenseDesign - October 25, 2021 - edited: October 25, 2021

I built a newspaper website that runs on CMSB. When a reporter uploads a photo, they enter the description in the Caption (info1) field. Sometimes, their caption is too long and some of the words get cut off. Does anyone know how to increase the number of characters that is allowed in that field, please?

https://www.wilmotpost.ca/news/article.php?Region-of-Waterloo-airport-to-double-in-size-in-the-next-six-months-1147

Attachments:

Untitled-2.jpg 115K

Untitled-1.jpg 162K

By gkornbluth - October 25, 2021

Hi,

I've attached a set of plugins that might help you. (No guarantees or promises) The scheme only seems to work if both plugins are activated

When I had a similar problem a while back, Carl from Interactive Tools helped me create these plugins to convert an upload's info1 field type from a text field to a text box.

It seems to convert both existing upload info1 fields and new ones, so you may not have to change anything in your coding.

In my test deactivating the plugins didn't seem to erase any info1 field information from the database, it just changed the info1 field type and how it's displayed in the back end. Re-activating them restores the info1 text box format and the information

There's an executable form accessible in the plugin listing that I used to combine existing info1, 2, 3, 4, and 5 text entries into the new info1 text box, since I had originally used multiple info fields to hold overflow text in long captions. You should not need to use this.

Please do extensive testing to make sure that there are no adverse effects to your site when using these plugins.

Hope they do the job.

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!

Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By CommonSenseDesign - October 25, 2021

Thanks so much, Jerry. I'll give these plugins a try.