![]() |
|
Latest Images on External Page - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Latest Images on External Page (/thread-6985.html) |
Latest Images on External Page - NazzDesigns - 01-05-2010 hey everyone, I have been trying to show the recent images uploaded to my zenphotoalbum. I have managed to continue the tutorial to get a random image When I try to call the But when I tried calling anyone can help me? Latest Images on External Page - acrylian - 01-05-2010 You have also to the template-functions.php and additionally the file oof the plugin if you wish to use a plugin function. Besides that this does not work with all systems, as written on that page (and you did not tell, if and what you use). Latest Images on External Page - NazzDesigns - 01-05-2010 ok thanks acrylian, i consider myself only as a designer I now have to ask if it is possible thanks Latest Images on External Page - acrylian - 01-05-2010 No, I don't think so. ASP is a completely different server programming language than PHP. But actually I do not know anything about ASP. You probably should ask that in a PHP or ASP forum. Latest Images on External Page - Blue Dragonfly - 01-05-2010 NazzDesigns, it is possible to include some of zenphoto's functionality in an ASP page, but it will be slightly "clunky", and depend on what you want to accomplish, exactly. It sounds like you want to include the images and their links into your page. There are ways to do this - you can use an inline frame to include a PHP page (ugly), or you can put together some ASP code to pull data from a PHP page, and re-parse it or display it directly (like an inline include). In either case, you wouldn't have direct access to zenphoto's PHP functions, but you would have access to the results returned by a PHP page. You might need to create a custom PHP file that essentially returns just what you need from your ASP page, such as the linked images without any other page content. Latest Images on External Page - NazzDesigns - 01-05-2010 Unfortunately I am not such an expert to create the system Blue Dragonfly explained in the second solution. however i have a slight problem.. anyone can help me sort this out? Latest Images on External Page - howler358 - 01-05-2010 I think the script I use to post random images on a WordPress blog posted in this thread ( http://www.zenphoto.org/support/topic.php?id=7006 ) could be adapted easily to show the most recent photo. Instead of picking a random image, modify the mysql query to sort on id or date and pull the last record. Latest Images on External Page - acrylian - 01-05-2010 @howler458: I don't think that will help him because of the widely discussed ASP vs PHP problem (Wordpress is PHP, too...) @Nazzdesigns: YOu have to break out of the frame (yes, this is partly why they are ugly). I suggest to learn a few things about the basics, for example on www.w3schools.com. Latest Images on External Page - NazzDesigns - 01-05-2010 I broke out the frame code code in the index.php in the main folder... anyone have a workout for this? thanks a lot Latest Images on External Page - NazzDesigns - 01-05-2010 if this is not possible, could i edit the coding the image_album_statistics.php Latest Images on External Page - acrylian - 01-05-2010 You can edit everything but you will probably get problems when updating. I suggest to either rework your site or just theme Zenphoto so it looks like your site. Latest Images on External Page - Blue Dragonfly - 02-05-2010 Acrylian - You do have a point that I overlooked: While I run my own server that supports PHP and ASP.NET for the same site, I suppose not many hosted sites support both simultaneously like that. Life is so much easier when you get to make up yor own rules! :-) Latest Images on External Page - acrylian - 02-05-2010 Well, maybe his server does support that, too. But of course we don't know that..;-) Latest Images on External Page - NazzDesigns - 02-05-2010 yes my server supports ASP.Net 2.0/3.0/3.5 Latest Images on External Page - acrylian - 02-05-2010 Well, as said I don't know anything about ASP. Maybe you should check with your host if you can use ASP and PHP calls on the same page (don't know if that is even possible though). |