murraygm / qse-mgoimagegrid

Qlik Sense Extension to display images
13 stars 8 forks source link

sporadically appending %20 to the end of the image file name #9

Open mtarallo opened 5 years ago

mtarallo commented 5 years ago

Hi Murray - hope all is well. I heard you left Qlik. Trust you are on to great things. I am not sure if you are still supporting this extension. I noticed when switching from local file access to online access using s3 - some of my image files are not displaying because they have a %20 appended the file name as in: myimage.jpg%20 - if I edit the url with chrome developer - and remove the %20 - the image displays. The weird thing is is that this is happening to some images not all and I am not sure what to look at. Thanks

3mur

2mur

1mur

murraygm commented 5 years ago

if the image url is being pulled from the data, then there maybe a trailing 'space' on the end. Ideally I should catch that in the extension, but I don't - sorry. try add the trim([field]) to the field in the model - that also may work on the dimension, if you can't touch the script.

mtarallo commented 5 years ago

That was it - I was using an expression to create the image name from the title field so possibly there was some unseen spaces. Thanks for the quick reply.