Blog Media Of Helix Ultimate - Question | JoomShaper

Blog Media Of Helix Ultimate

webmaster.unioeste

webmaster.unioeste

Helix Framework 5 days ago

Hello.

I need to create a filter in the name in some images uploaded in "Blog Media" tab inside an article. When uploading an image with the button "Upload Image" or inside a Gallery, I want to remove the spaces of the name of the image and replace with "_": https://imgur.com/a/BXxacOO

For example, if the image uploaded has the name "Image 1.jpg", I want to change the name to "Image_1.jpg".

I need this because I'm using a plugin that transforms images to the format webp. However, it is not working with images that have spaces in the path.

Is it possible to do this?

Thanks.

0
3 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 5 days ago #221858

Hi there!

Thanks for reaching out.

By default, Joomla, Helix, and SP Page Builder do not automatically replace spaces in uploaded image filenames with underscores.

However, Joomla normally converts spaces into hyphens automatically in many upload cases. If your plugin specifically requires underscores instead of spaces or hyphens, then this may require a custom override or a third-party upload/rename plugin.

As an alternative, you may rename the image files before uploading them, for example:

  • Image 1.jpg → Image_1.jpg
  • My Photo Banner.png → My_Photo_Banner.png

I think you will need to re-upload the images that have spaces in their filenames. Please rename those images manually using underscores instead, then upload them again. That would ensure compatibility with your WebP conversion plugin.

Best regards,

0
webmaster.unioeste
webmaster.unioeste
Accepted Answer
5 days ago #221861

Hello.

Thanks for the quick response.

The plugin works with hyphens too. It only has this problem when the image has spaces. Is it possible to do an override in the template of the blog media upload? How can I do this? I checked the helix ultimate js files that do this upload, and they are all minified. Will a third party upload rename plugin work in blog media of HU?

I renamed some of the images, however, there's lots of new posts that are made by a ton of different people, so it is not easy to tell them to change the name of every image uploaded (since they can also forget this, because visually png and webp are the same).

Best regards,

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 days ago #222059

Hi,

I totally understand the situation :(

However, I’m not sure whether a third-party upload/rename plugin will work within the Blog Media field of Helix Ultimate, as I haven’t personally tested any in that context. Apologies for the uncertainty.

That said, it’s generally not recommended to use spaces in image filenames. While most modern browsers can handle them, they may still cause issues with URLs or with certain plugins, which can lead to images not displaying correctly.

For best results, it’s advisable to use underscores (_) or hyphens (-) instead of spaces in your image names.

You may pass this information along so the images can be renamed and re-uploaded without spaces in their filenames.

Best regards,

0