Closed (fixed)
Project:
Image cycle
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2009 at 02:13 UTC
Updated:
28 Oct 2009 at 21:53 UTC
Jump to comment: Most recent file
Comments
Comment #1
maulwuff commenteduse
Comment #2
Peloose commentedGreat, It's work.
Thx a lot
Comment #3
Jadzla commentedI have the above code which shows the images but not in a slideshow - they are all on the page at the same time. www.narromine.nsw.au/nsc/
Can anyone help?
Thanks
Comment #4
boombatower commented@maulwuff: thanks for helping with the question.
@Jadzla: I don't see the issue in question. Have you removed the slideshow that had problems?
Comment #5
boombatower commentedPlease re-open if issue still exists.
Comment #7
dalmyjr commentedThe Image slideshow is OK in:
http://mysite.com/image_cycle/3
But when I include de code:
No error and no Image ... ;-(
Ps.: The Format "PHP code" is Ok.
Comment #8
beiji commentedTo dalmyj
use
My problem is that my block is small for the cycle.It is default use the original size, how can i use the thumbnail or preview size ?
Comment #9
boombatower commentedYou can add custom CSS as one of the settings. Just set the image size like so:
Comment #10
beiji commentedthx~
It works use
Comment #11
michalczernik commentedI have similar issue as above.
On mydomain.com/image_cycle/1 is slideshow OK.
But when I embed
there is just looong list of all images, but no slideshow.
Any sugestions?
Comment #12
boombatower commentedHave you installed the jQuery cycle js.
The code in image_cycle_show() adds it as explained in INSTALL.txt
Comment #13
michalczernik commentedYes, I have installed jQuery cycle js as instructed in INSTALL.TXT
Slideshow works fine when accessed on mydomain.com/image_cycle/1
But I can't figure out how to embed it anywhere else (e.g. page.tpl.php or PHP block).
I have tried to embed slideshow using
but this shows just static images (as attached above).
Don't know what I'm doing wrongly..
Comment #14
boombatower commentedIf you place the code in a template the javascript will not be included since Drupal has already processed that. You will need to make a custom module or something that simply triggers the javascript before you actually include in template. (not really any way to get around that)
If You use a PHP block it should work fine as I have done that myself.
Please check the HTML javascript include statement to see if it points to the file correctly.
Comment #15
michalczernik commentedI still can't figure out how to make this working :-(
JS is pointing to right location.
I have tried few things, e.g.:
- include JS in < head >
- embed JS using drupal_add_js
- create BLOCK with the CYCLE, then INVOKE the block using module_invoke('block', 'block', 'view', '1')
- echoed image_cycle_show(1); on the page where was already the node containning working CYCLE
None of above atempts was working.
Even though JS is included in < head > when I review the source code of the page, the script is not working.
Could you advice me how should I make this working? I'm trying to use CYCLE on every page instead of flash banner (on top of the CYCLE should be CSS NICE MENU for navigation).
Comment #16
boombatower commentedIn theme_image_cycle_cycle() the following should tigger the cycle to start
Comment #17
michalczernik commentedThank you very much for your support.
I have resolved this by creating another region between HEADER and CONTENT and placing IMAGE_CYCLE bock there.
There is just one issue: On every page where is IMAGE_CYCLE block, the TITLE of the particular PAGE is changed to the TITLE of the GALLERY (which contains images for IMAGE_CYCLE).
I have fixed this by commenting
// drupal_set_title($term->name);in image_cycle.module in the function image_cycle_show().Not sure if this is BUG or just FEATURE REQUEST, so I will let you deal with it.
Thanks for all your work!
Comment #18
boombatower commentedThat has been fixed in dev version.
Comment #19
Laranjinho commentedI'm also having trouble to integrate de image cycle module.
Getting the module working if I open the link ../image_cycle/1
But all suggestions above and in other posts related to this topic failed for me.
I am using the last versions Drupal (6.13), last versions from all modules needed and all modules are properly enabled.
When I embed
in the page.tpl.php :
if (isset($primary_links)) {print theme('links', $primary_links, array('class' =>'linksTop', 'id' => 'navlist'))}[[[[[[ I placed it here]]]]]]
The I get 6 photos (the defined 6 in config) stacked on top of eachother.
Addind a template.php did not resolve nothing.
I followed all correctly in the install.txt, js script is where it should be.
I am a little lost now, how can I get this to work in the header part??
Deeply grateful to who might help :o)
cheers
Comment #20
Laranjinho commentedI could resolve it myself......
What I did was to add a new BLOCK where I put the code:
Where the 2 is the slideshow number of course.
Then I had to adapt the page.tpl.php to define a region to it, since the desired region is standard not defined.
print $topWhere maincolHead is the region where I want the slideshow.
Next I had to adapt the xxxxxxx.info file to add a extra region, I defined "TOP" as extra, header worked also, but I chose "TOP"
Then it worked finally.
cheers
Comment #21
indiralanza commentedHi
I have made all the things you have explained on this topic, but something is going wrong. The thing is that I want to add an Image Cycle to a rigthside block, I have embed the following php code inside the body of thew block:
and the slideshow works great but in the body of every pages it's show the name of the image gallery! and overwrites the page title of the custom page. Maybe the code also displays the slideshow but is also overlapped by other components of the page, I don't know, maybe is some bug because of the "echo". In the README of the module advise to use only the code with out "echo" like this
I'm using 5.x version
Sorry my english, please help me to solve it.
Thanks
buscar
What I'm doing wrong?
Comment #22
boombatower commentedThat should be fixed in 6.x dev not sure about 5.x