Thumb image missing - long filesname truncated!

  • James Riley
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
11 years 2 months ago #55706 by James Riley
I guess I'm being too verbose with my image filenames... they are getting truncated if longer than 60 characters when I select to use them as the Thumb Image in an Event. (see attached screenshot)
In the mySQL eb_events table, I've changed [ eb_events -> thumb ] from varchar(60) to varchar(90) as a work-around.
To prevent this problem in the future for other users, you may want to either 1) increase the number of characters allowed in the database column; or 2) truncate the filename before storing it to something like max-of-56-chars + .extension so that it fits in the varchar(60).

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #55728 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Thumb image missing - long filesname truncated!
Thanks James. Nice find, I haven't thought about this case before (seems none of customers have long filename like that before).

For now, please use the solution you are having. I will consider updating the change to the package

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc