Page 1 of 1

Automatic Renaming of Images & Mixed Orientation Slideshows (new to WWB from WebPlus X8)

Posted: Fri Dec 20, 2024 11:40 am
by AliGW
I am attempting to migrate and update a website from WebPlus X8 and am looking for certain functionalities that may or may not exist.

I am gradually reading through the User Guide, but haven't found an answer to these questions (yet) - apologies if I have missed something obvious, but even if I have, I'd appreciate a nudge as to where to find the information I need.

There are two things that I am looking to do (for a responsive website):

1. In WPX8, if I added images whose names did not comply, WPX8 would automatically change their names to lower case and insert underscores in place of spaces when the site was published. I notice that WWB does not do this, and although it gives an error message on publication, it does upload images and show them on my test site. Is there a setting that I have missed that will do the renaming automatically for me, as there was in WPX8, or some other similar functionality?

2. I've had a play with slideshows and can't find an option where images of different dimensions will be displayed in their native aspect ratio (e.g. a mix of landscape and portrait images). Instead, images are constrained and stretched or shrunk according to the set-up of the slideshow template. I am sure that there is a setting I have missed or some other way to do what I would like - what should I be looking for? I am an amateur photographer, and want to be able to set up slideshows of photo shoots that I have done.

Many thanks for any tips that you can offer and a happy Christmas to you!

Re: Automatic Renaming of Images & Mixed Orientation Slideshows (new to WWB from WebPlus X8)

Posted: Fri Dec 20, 2024 12:21 pm
by Pablo
1. There is an option for this: Tools -> Options -> HTML -> Enable URL encoding

2. The slideshow does not support this, because otherwise the page would 'jump' between slides.
However, it is possible with lightboxes.
https://www.wysiwygwebbuilder.com/lightboxes.html

Re: Automatic Renaming of Images & Mixed Orientation Slideshows (new to WWB from WebPlus X8)

Posted: Fri Dec 20, 2024 1:11 pm
by AliGW
Thank you very much for your quick reply. I am off to find both options now.

Happy Christmas!

Oh, by the way: I bought a copy of WWB many moons ago (v. 14, I think) and upgraded to to v. 19 only this week - shall I qualify for a free upgrade to v. 20 when it comes out?

Thanks again.

Re: Automatic Renaming of Images & Mixed Orientation Slideshows (new to WWB from WebPlus X8)

Posted: Fri Dec 20, 2024 1:13 pm
by Pablo
shall I qualify for a free upgrade to v. 20 when it comes out?
yes

Re: Automatic Renaming of Images & Mixed Orientation Slideshows (new to WWB from WebPlus X8)

Posted: Fri Dec 20, 2024 1:24 pm
by AliGW
Fab. Thanks. :D

Re: Automatic Renaming of Images & Mixed Orientation Slideshows (new to WWB from WebPlus X8)

Posted: Fri Dec 20, 2024 1:41 pm
by AliGW
OK - I don't understand how this works.

I did as you said - I enabled URL encoding under Options, but images with spaces in their file names continue to throw up error messages and are still publiushed with the original file name on the server.

I also clicked to use page name prefixes for images, but that isn't working, either.

It's not a big deal really - I can always rename images when I optimise them for my website, but I'd like to understand what's supposed to heppen.

Thank you.

Re: Automatic Renaming of Images & Mixed Orientation Slideshows (new to WWB from WebPlus X8)

Posted: Fri Dec 20, 2024 2:48 pm
by Pablo
Do you have a (simple) DEMO project?

For further details about how to share a project file, please see this FAQ:
viewtopic.php?f=10&t=82134

Re: Automatic Renaming of Images & Mixed Orientation Slideshows (new to WWB from WebPlus X8)

Posted: Fri Dec 20, 2024 3:13 pm
by AliGW
I shall have to see if I can provide a project file, but it may have to wait now until after Christmas.

If I share a project file here, I presume my FTP details used to publish it are NOT embedded in the project file?

This is the HTML generated by WWB:

</div>
</div>
</div>
</div>
<div id="wb_LayoutGrid3">
<div id="LayoutGrid3">
<div class="row">
<div class="col-1">
<div id="wb_Image1" style="display:block;width:100%;height:auto;z-index:12;">
<img src="images/2024 10 Cypriot Sunset.png" id="Image1" alt="" width="1070" height="603">
</div>
</div>
</div>
</div>
</div>

Re: Automatic Renaming of Images & Mixed Orientation Slideshows (new to WWB from WebPlus X8)

Posted: Fri Dec 20, 2024 4:07 pm
by Pablo
No publish info is not in the project file.

Note that you can read more about websafe files names here:
viewtopic.php?t=131

This is what the code looks like when the option is enabled on my computer:

Code: Select all

<div id="wb_Image1" style="position:absolute;left:99px;top:99px;width:1756px;height:1558px;z-index:0;">
<img src="images/2024%2010%20Cypriot%20Sunset.png" id="Image1" alt="" width="1756" height="1558"></div>

Re: Automatic Renaming of Images & Mixed Orientation Slideshows (new to WWB from WebPlus X8)

Posted: Sat Dec 21, 2024 6:37 am
by AliGW
Thanks - I understand how this is meant to work now.

It's not that I don't understand about websafe naming conventions - I do, but thanks for the link anyway. I was just hoping that WWB might be able to do what WPX8 does and actually alter the file names as they are published. As it doesn't, I shall have to rename files myself prior to publishing.