Random Image Module just shows jpg. file name
Moderators: pe7er, General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
- rpj
- Joomla! Apprentice
- Posts: 40
- Joined: Sat Jan 21, 2012 4:08 pm
Random Image Module just shows jpg. file name
I have added the Random Image Module that comes with the Joomla! 1.7 install. I have a folder of small .jpgs (between 5k and 30k) in a folder on the server and set the folder's path in the Basic Options.
I know the module can see the folder because a random file name appears under the module title bar and changes with each refresh. When I move the folder the module reports 'No images'
I have also tried with a .png just incase the module did not like my - same non-result.
Why no images? Any ideas?
Thanks - RPJ
I know the module can see the folder because a random file name appears under the module title bar and changes with each refresh. When I move the folder the module reports 'No images'
I have also tried with a .png just incase the module did not like my - same non-result.
Why no images? Any ideas?
Thanks - RPJ
- imanickam
- Joomla! Master
- Posts: 28202
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Random Image Module just shows jpg. file name
What is your site's URL so that others can see what is happening and suggest solutions?
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
- rpj
- Joomla! Apprentice
- Posts: 40
- Joined: Sat Jan 21, 2012 4:08 pm
- rpj
- Joomla! Apprentice
- Posts: 40
- Joined: Sat Jan 21, 2012 4:08 pm
Re: Random Image Module just shows jpg. file name
Hi.
This module is still not working.
www.skyminer.co.uk
Module is titled VEEQ Pix in position 7 (left hand column)
Anyone got any ideas?
Thanks
RPJ
This module is still not working.
www.skyminer.co.uk
Module is titled VEEQ Pix in position 7 (left hand column)
Anyone got any ideas?
Thanks
RPJ
Joomla 2.5 / MySQL5 / PHP 5.2 / Apache
Windows7 / Firefox 3.6 (usual browser)
Windows7 / Firefox 3.6 (usual browser)
- imanickam
- Joomla! Master
- Posts: 28202
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Random Image Module just shows jpg. file name
Do you mean the module titled VEEQ People and Activities?
If so, this is not the core Random Image module. It is an extension (an I believe that it is NivoSlider).
Even in this I observer that some of the file names are simple such as 015-200.jpg and some of them are long with spaces in the file name such as Gardening group visit to Fleurs du Sud 7.07.09 (3)-200.jpg.
IMHO, it is better to avoid file names with spaces and special characters such as period (.).
--------------------------------------
If you want to use the Random Image Module, the default image type is jpg. If you want you could change this value to png or gif in the option Type of Image in the module.
If so, this is not the core Random Image module. It is an extension (an I believe that it is NivoSlider).
Even in this I observer that some of the file names are simple such as 015-200.jpg and some of them are long with spaces in the file name such as Gardening group visit to Fleurs du Sud 7.07.09 (3)-200.jpg.
IMHO, it is better to avoid file names with spaces and special characters such as period (.).
--------------------------------------
If you want to use the Random Image Module, the default image type is jpg. If you want you could change this value to png or gif in the option Type of Image in the module.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
- rpj
- Joomla! Apprentice
- Posts: 40
- Joined: Sat Jan 21, 2012 4:08 pm
Re: Random Image Module just shows jpg. file name
Hi Imanickam
You are correct that it is NivoSlider. I just tried it instead of the Random Image. Then I took the Random Image off and forgot that someone may look at it from the forum. Doh!
I have put the module back and just left a dozen small images with simple short names (IMG_XXXX-200.jpg) but it still does not work.
Thanks
RPJ
You are correct that it is NivoSlider. I just tried it instead of the Random Image. Then I took the Random Image off and forgot that someone may look at it from the forum. Doh!
I have put the module back and just left a dozen small images with simple short names (IMG_XXXX-200.jpg) but it still does not work.
Thanks
RPJ
Joomla 2.5 / MySQL5 / PHP 5.2 / Apache
Windows7 / Firefox 3.6 (usual browser)
Windows7 / Firefox 3.6 (usual browser)
- imanickam
- Joomla! Master
- Posts: 28202
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Random Image Module just shows jpg. file name
Reviewed the site again and if you analyze the HTML source created for the image that is shown below, you would notice that there are two // before images. The src should be "/images/front_page_pix/IMG_5928-200.jpg" - NOT "//images/front_page_pix/IMG_5928-200.jpg".
I believe that is caused by the value of the parameter you have entered for the option Image Folder. I suspect, that you have entered the value /images/front_page_px instead of images/front_page_px
Code: Select all
<a href="/images/front_page_pix">
<img src="//images/front_page_pix/IMG_5928-200.jpg" alt="IMG_5928-200.jpg" width="100" height="75" /></a>
</div>
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
- rpj
- Joomla! Apprentice
- Posts: 40
- Joined: Sat Jan 21, 2012 4:08 pm
[Solved] Re: Random Image Module just shows jpg. file name
You are quite correct. I removed the opening "/" in the Image Folder and the images appeared.
I am just starting out on Joomla after static HTML/PHP sites and am finding the method and underlying code quite baffling. I hope it will make sense one day.
Thanks for moving me on one more step.
Best
RPJ
I am just starting out on Joomla after static HTML/PHP sites and am finding the method and underlying code quite baffling. I hope it will make sense one day.
Thanks for moving me on one more step.
Best
RPJ
Joomla 2.5 / MySQL5 / PHP 5.2 / Apache
Windows7 / Firefox 3.6 (usual browser)
Windows7 / Firefox 3.6 (usual browser)
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Feb 22, 2012 3:49 pm
Re: Random Image Module just shows jpg. file name
Sorry, you can ignore this post. I thought that the solution to my problem (similar to the one above) was harder than it turned out to be and have now fixed it.
What a momentus debut that was to the these forums .
What a momentus debut that was to the these forums .
-
- Joomla! Apprentice
- Posts: 33
- Joined: Sat Aug 02, 2008 7:46 am
Re: Random Image Module just shows jpg. file name
Joomla 2.5.11
Hi all - I'm having this problem after moving my site out of a sub-directory & this seems to be the only feature that has gone AWAL.
I've checked that the path is correct, but it just displays a container momentarily and then leaves just the image title, so I know it's connecting to the image folder - just won't actually display the images (they are all JPEGs). Am I missing something glaringly obvious?
Many thanks for any pearls of wisdom!
Hi all - I'm having this problem after moving my site out of a sub-directory & this seems to be the only feature that has gone AWAL.
I've checked that the path is correct, but it just displays a container momentarily and then leaves just the image title, so I know it's connecting to the image folder - just won't actually display the images (they are all JPEGs). Am I missing something glaringly obvious?
Many thanks for any pearls of wisdom!
- imanickam
- Joomla! Master
- Posts: 28202
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Random Image Module just shows jpg. file name
JoyP: What is your site's URL so that others can see what is happening?
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
-
- Joomla! Apprentice
- Posts: 33
- Joined: Sat Aug 02, 2008 7:46 am
- Per Yngve Berg
- Joomla! Master
- Posts: 30923
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Random Image Module just shows jpg. file name
You also have a "//" at the start of the image path.
-
- Joomla! Apprentice
- Posts: 33
- Joined: Sat Aug 02, 2008 7:46 am
Re: Random Image Module just shows jpg. file name
Really? I've deleted and re-entered the path to try to make sure I haven't - but I'm using the parameters area to do this in the module editing window - is there a better place to do this?
Thanks for any advice you can give.
Thanks for any advice you can give.
Last edited by JoyP on Sun Jun 16, 2013 5:19 pm, edited 1 time in total.
-
- Joomla! Apprentice
- Posts: 33
- Joined: Sat Aug 02, 2008 7:46 am
Re: Random Image Module just shows jpg. file name
AHA! I've got it now - what I had entered in
Basic Options / Image Folder settings was:
/images/random
This actually creates
//images/random in the code
SO the solution is to change this to:
images/random
MANY thanks for helping me find my way to this
I'm sure I won't be the last to need it!
Best regards - Joy
Basic Options / Image Folder settings was:
/images/random
This actually creates
//images/random in the code
SO the solution is to change this to:
images/random
MANY thanks for helping me find my way to this
I'm sure I won't be the last to need it!
Best regards - Joy