Random Image from Folder
in Need Help
I've tried a couple different things such as:
%spinfolder_data_url-C:\Users\Administrator\Dropbox\SEO\Images%
How can I use the Insert Random > Own URLs feature to pull a random image from my folder?
Thanks!
%spinfolder_data_url-C:\Users\Administrator\Dropbox\SEO\Images%
How can I use the Insert Random > Own URLs feature to pull a random image from my folder?
Thanks!
Comments
%random_image-C:\Users\Administrator\Dropbox\SEO\Images%
I tried that and got some images, but they were all hosted at picsearch not the domain.
The macro %random_image% uses the providers configured in content_search.dat.
If it's a fixed place you want to have the images in, then you need to use...
<img src="%spinfolder_data_url-C:\Users\Administrator\Dropbox\SEO\Images%" />
If it should be a random place, you can put the folder/images in "Own URLs" box when enabling the option in article manager to insert random images.
I want to pull a random image from a folder. I have tried the following and none would work.
I put only 1 image in the Images folder so I would know when it was posted, but I can't seem to get it to publish that particular image.
When the image was to be inserted, nothing was inserted and the content below it wasn't posted. I can send you the backup if you want to take a look.
The name does not matter if the image is encoded and in html.
ou just use the "Own URLs" checkbox and put the macro there or the file names.
%spinfolder-C:\Users\Administrator\Dropbox\SEO\Images%
When I post a randomly selected image (not using my URLs, but your random web selection) it works.
When I check Use Own URLs, the image shows broken online. I PM'ed you examples of working (random from online), and non-working (random from my folder).
ok next version will fix it ... I think you image might have a spin syntax in it that is removed. Thats of course not something you want. Till next version just add the file names to the box. that should work.
That extra space between the paragraphs is where the image is supposed to show I believe. Most of those are in XpressEngine and a couple of others.