I have an image on a page with a link when you click it. But when I view that link, there's a bit missing off the end.
What I want to link to is (without the quotes):
"D:\alans\SynologyDrive\DPRevived stuff\website\DPRevived Landing Page 20-dev2\DBCF0088-1 (Superlarge).jpg"
What I get is
"D:\alans\SynologyDrive\DPRevived stuff\website\DPRevived Landing Page 20-dev2\DBCF0088-1 (Superlarge"
It doesn't seem to like the close brackets. If I change the file to
"D:\alans\SynologyDrive\DPRevived stuff\website\DPRevived Landing Page 20-dev2\testcolor.jpg"
So, is this a bug or have I done something silly (and I do this all the time).
Here's a simple wbs file that (on my PC) illustrates the issue
https://www.dropbox.com/scl/fi/zaizzwu1 ... u3om5&dl=1
Alan
is there an issue in links?
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/links.html
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/links.html
Re: is there an issue in links?
This may be helpful:
viewtopic.php?t=131
viewtopic.php?t=131
Re: is there an issue in links?
Pablo,
It only happens if I have a close bracket at the end. I understand about naming conventions, but the wbs file doesn't have to be published for the error to be seen.
Alan
It only happens if I have a close bracket at the end. I understand about naming conventions, but the wbs file doesn't have to be published for the error to be seen.
Alan
Re: is there an issue in links?
Seems to me you are making it a bit more difficult than it needs to be. Not sure the need to use parenthesis and spaces in file names. However, you need to %-encode the link for it to work.
So in your example file, make your link:
by adding: %28 for left parenthesis and %29 for the right.
Seems easier to just give the name of the image a safer name like:
DBCF0088-1-Superlarge.jpg or DBCF0088-1-SL.jpg
So in your example file, make your link:
Code: Select all
C:\Users\....\imagefilenameissue\imagefileissue\website\DBCF0061-1_%28SL%29.jpg
Seems easier to just give the name of the image a safer name like:
DBCF0088-1-Superlarge.jpg or DBCF0088-1-SL.jpg
Re: is there an issue in links?
Crispy - thanks. I can rename it - no issues.
I don't understand why WWB won't flag it up as an issue though when I select an invalid file. Plus it appears it's only the link that trucates the filename at the close bracket point - the main filename for the image is OK and works fine when published. The issue with the link name happens without needing to publish the page.
Pablo, Can an error message be added to a future enhancement?
regards
Alan
I don't understand why WWB won't flag it up as an issue though when I select an invalid file. Plus it appears it's only the link that trucates the filename at the close bracket point - the main filename for the image is OK and works fine when published. The issue with the link name happens without needing to publish the page.
Pablo, Can an error message be added to a future enhancement?
regards
Alan
Re: is there an issue in links?
I will investigate if an error can be added for this invalid file name.
Re: is there an issue in links?
Thank you. That will help since I assumed that if the image name was correct (and it was published OK), the link name must be OK as well.
Alan
Alan