murraygm / qse-mgoimagegrid

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

Cannot view my images #7

Open ccastrilloc opened 6 years ago

ccastrilloc commented 6 years ago

Hi @murraygm. I cannot view my local images. As you recommended, I save all the images in a folder under Extensions, but when I select one image name (as my 1st dimensión), only shows the label, no the image itself. Hope you can help me, many thanoks in advance

murraygm commented 6 years ago

Hi - sorry, just found the issue, it appears that Sense Desktop now requires the folder is registered with it before it will allow access (prior versions would work with anything dropped inside Extensions). Registration requires the folder to have a ".qext" file. The simplest way to do this is to open the Dev-hub and create a new Mashup called the same name as the folder where your images are. You can just pick basic mashup and then once it's created you can close it and if you want delete the .wbl, .png, .js, .css, and .html files.

You can also just add the a '.qext' file to an existing folder (inside extensions). just create it in notepad etc and name it the [name of folder it's in ].qext and add this, with the name of your folder as the value for the "name" attribute: { "type": "mashup", "name": "[name of folder it's in ]", "description": "", "version": "1.0.0", "author": "", "homepage": "", "keywords": "", "license": "", "repository": "", "dependencies": { "qlik-sense": ">=3.0.x" } }

I'll update the readme to reflect this. Thanks for raising it.

ccastrilloc commented 6 years ago

Hi @murraygm , many thanks for your answer. Unfortunately, it doesn't work. We have the folder IMGs dropped in Extensions. It contains all the images and the new text file IMGs.qext. In the field local inside extension I wrote 'IMGs'. I think everything is fine, isn't it? Hope you can help! Regards

murraygm commented 6 years ago

Hi, yes that sounds correct. Is this desktop or Server? For the Server you might need to create the folder via a mashup.

I have the same set up locally running and on a server instance. Can you reach any of the images via a browser? Locally I have: folder 'C:\Users[USER NAME]\Documents\Qlik\SenseExtensions\IMGs\IG' this is the value from the dimension '2016-02-14_1455413482.jpg' If the folder 'IMGs' is registered it should be reachable like so. http://localhost:4848/Extensions/IMGs/IG/2016-02-14_1455413482.jpg

The entry in the Image '>Source and Selection > Location of image folder' in the extension would be:

screen shot 2018-03-27 at 1 06 04 pm

UPDATE: It appears that with the server you can't get away with just creating the mashup and copying the files into C:\Qlik Sense Storage\StaticContent\Extensions The only way seems to be to create a mashup folder locally on the desktop, add all the images. Zip it then import it via the QMC to the server in the Extensions area.

ogatchell commented 2 years ago

Hi Murray - When using the ONLINE option and fully browser accessible URLs, images appear correctly when selected ("Use a 1 up single image paging display instead of a grid" is de-selected). However, none of the images display in the grid as so nicely displayed in the NYC library example. Any suggestions?

murraygm commented 2 years ago

Sorry, this extension is no longer being developed.