My problem, i need a photo album in my home page, not the thumbnail of image. How can I set the Flash view Image permanently to my front page?
please help.
My problem, i need a photo album in my home page, not the thumbnail of image. How can I set the Flash view Image permanently to my front page?
please help.
Comments
Comment #1
abdulhaleems commentedComment #2
berdir- your images? images of album x? all images ?
- Do yoo need only the flash view on the front page or additionaly to something else, for example the normal drupal frontpage?
As a starting point, it is quite easy to set a flash view of a user or album as frontpage, just save the url you want at /admin/settings/site-information. Everything more complex is currently not easily possible, as the flash site is currently not themable nor aviable as a block.
Comment #3
abdulhaleems commentedThanks for the reply,
I have some other contents, but i need this flash gallery at the top of all contents on the content section. Is it possible?
Actually it is for a news site, so it need to show 5 top stories of the day. The top stories will design as images with related photos. If not possible, is there any other module?
Thanks.
Comment #4
berdirThis is currently not possible without coding.
You could have a look at the function "_photos_flash_swf" in photos.page.inc and use it as a start to create your own block/page where you include the flash gallery. This should not be too complicated.
I am however not sure if a flash gallery is the right way to present text/nodes as it is in my opinion harder to read and maintain. Another way would be using jQuery/Ajax to load the text/image and display it as normal html.
Comment #5
abdulhaleems commentedThanks, i will try.
Comment #6
eastcn commentedYes, you can call _photos_flash_swf (), you only need to specify a xml address, it is very easy.
Comment #7
abdulhaleems commentedSorry, i am very new to drupal & PHP. But i tried my maximum.
Finally i done by adding this code as a block by using PHP filter, but it only showing flash player without image. I think the xml codes are generating by 'photos_flash.tpl.php'. How can i specify this XML to '_photos_flash_swf($xml)'. I don't have a normal XML file.
Please give a solution.
Comment #8
berdir$xml is the *path* to the xml file, as described be eastn, you can display either the images of an album or an user
"/node/%nid/photos/view/xml" (%nid = id of the album, you can find this out by looking ad the url while displaying or editing the album... node/%nid)
or
"/photos/user/flash/%uid/xml (where %uid is the id of the user)
I'd suggest you to create an album per day and display the images of that album
PS: perhabs you have to change the path if your drupal base ist not at / (for example domain.org/drupal instead of domain.org). Try to open the path directly.. if you get a xml file it should work
Comment #9
nathaniel commented