7 - Views random 1 image after refresh - Drupal Answers
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. I may just be missing something. But in it's most basic form, the API seems to just return the same image for any instance on a page where it is called more than once. Shouldn't each instance be seen as a different request by default? Cam This behaviour is actually your browser "helping" you. It sees the multiple requests to the same URL and caches the response - not knowing, of course, that in this case the response would actually be different each time.
This is tutorial on how to install the random image script in any theme so that your sidebar image changes every time you refresh your blog. Since I get at least about two questions a week about the random image script and my faq about it doesn't seem to get read , I decided I would create this sort of installation "tutorial". It will break it down - even more than in my faq - so hopefully everyone will understand it better.
By using our site, you acknowledge that you have read and understand our Cookie Policy , Privacy Policy , and our Terms of Service. Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up. I'm trying to use Views to randomly display an image or node from a content type.