No images in carousel window
| Project: | jcarousel block |
| Version: | 6.x-1.3 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Many thanks for this module, if I can get it to work it'll be a great way to combine IMCE and jcarousel.
I'm running D6.4 and current versions of CCK and jcarousel-block. Recently downloaded jcarousel 0.2.3 from sorgalla.com.
I've installed the module and set up the relevant CCK field. The jcarousel scroller appears in the Content block and it scrolls back and forth but there are no images in it. I've uploaded a few images and attached them to the node via IMCE and they appear in the node proper but not in the jcarousel scroller.
I can change the skin OK but can't figure out how to change the other options for jcarousel, when I update the .js directly it doesn't make any difference.
I've got lightbox2 installed but can't see how to integrate it either, maybe that'll come when the images appear in the scroller.
Thanks again

#1
Sorry, I added imagefield support in 1.1 and added some variable like imagefield_type but forget to set that for imceimage.
However, I've totally rewrite the code so the imagefield and imceimage now format their data in the .module file instead, using two functions, make the code cleaner. You may try the 1.2 version.
#2
#3
Thankyou
Not sure if this is a bug or I'm doing something wrong but now images are showing up in the window full size rather than as smaller thumbnail size and the second one (png) is on top of the first one. If I mouseover where the thumbnail would go I can click and lightbox brings up the image.
#4
well, for now it will not automatically generate thumbnail. If there are thumbnails, it will use them, if not, just show the original.
For imce, you can create thumbnails when the imce upload window is showing, if you have defined the profiles properly.
I created a profile with a image resize option 'thumb' within, which defines a 'thumb_' prefix.
By default I think there are 'small_', 'medium_', 'large_' presets. if you want to use the small preset, you can change the 'imceimage thumbnail prefix' setting of this module to 'small_'
#5
Hi, i think this is a good start for the module. ive been testing it for awhile using imceimage. However I have been unable to get it working other than the node at which it was created. On all other qualified nodes for which i want it to appear, I see the following message:-
warning: Invalid argument supplied for foreach() in /sites/all/modules/jcarousel_block/jcarousel_block.module on line 159.
been trying to look at the module code to figure it out but im not a php expert. kind of understands it .. but thats it. Any hints ?
#6
sorry about the warning, as I posted in the other issue
the error is because now the block is showing on every page even if it's not a node. You can go to admin/build/block to configure it show only at listed pages: node/* . I probably should set that as default in later versions.
#7
Thanks, it's working great now and is perfect for what I need.
I'm using the user-1 profile in IMCE, just added another thumbnail with the "thumb_" prefix, uploaded it with the main image and we're in business.
This is a great little module and will help a lot of people out I think. It could use some work on the documentation though, I know it's early stages but I'd be happy to help where I can.
#8
I have almost exactly the same problem reported here
(I've taken the liberty to edit the above for my case :-) )
One major difference, I am using imagefield.
(I've read the other support request, and I AM using the latest code - HOWEVER, please not, what is checked into the CVS reports that it is version 1.1, where as, it is actually 1.3 (and I've tried the currently unreleased code too!) )
I'm running D6.4 and (very) current versions of CCK, views, imagefield etc and jcarousel-block. Recently downloaded jcarousel 0.2.3 from sorgalla.com.
I've installed the module and set up the relevant CCK field. The jcarousel scroller appears in the Content block and it scrolls back and forth, showing the right number of 'boxes'
But, the boxes are empty, no image is displayed.
The images are shown on the node proper but not in the jcarousel scroller.
I can change the skin OK etc...
Please let me know what I'm doing wrong :-)
Cheers
Mark.
#9
Can you provide a url of your site so I can try to see what's wrong?
#10
Sure
Oh no!
So, I've just gone to the broken page in question, which I haven't touched since I looked last.
And now it's working
!!!
What have I changed? What haven't I changed!!!!
I've changed the theme, added a bunch of modules, added, moved, changed...
I suspect, if it doens't work, try a different theme??
I'm sorry ! If I can break it again, I'll let you know :-)
cheers
Mark
#11