Finaly figured out how to create a landing page in greydragon with one of my images
tseyigai
Joined: 2012-11-06
Posts: 47 |
Posted: Tue, 2012-11-20 00:59 | |||
With some help from floridave, and a lot of searching, trying different things, and just persisting, a landing page was created that showcased one of my paintings on the root page. Serge's theme, greydragon, is great and enables many different ways of working with the theme, and I wanted to have one image instead of the different albums shown as they do in the default stage. I looked through a LOT of the thread concerning the greydragon theme, but I still couldn't get it done. The landing page is easy to use in that it is readily seen in the theme options where one can simply "click" root page to begin. Well, that's fine, but then one usually wants some sort of image there instead of just the dark screen and ENTER HERE to go to the other albums. As I said, Dave helped me greatly, but I had to locate the files myself to add code to insert one of my images. I knew that obviously since the ROOTPAGE was the where the page would initiate, that I needed to find a rootpage to edit to insert my image. I realize that probably a lot of you know these things, but I didn't. After looking through the directories I found rootpage.html.php and rootpage.html.php_fix. I started working with the .php_fix page first but it seemed that inserting a simple img src=...... wouldn't work there so instead I went to the .html.php file and began there. I went back to an image I wanted to insert and used this one at first , <img src="http://stephenhansonartist.com/var/resizes/Landscapes/image4.jpg?m=1352319331"> Of course that wouldn't work, so I eliminated the ?m=1352319331 and the resizes. Then it actually worked, and I was amazed.. I woke up this morning and looked at the page and it looked fine. I worked on another site to add links at the top of the front page and then went back to what I was so happy about and, Here's my site: http://www.stephenhansonartist.com Here is another one that I may like to change as well, but I will need to approach the theme in a different way with this one. *Here's a sceen shot of the rootpage.html.php page Tseyigai
|
||||
Posts: 1857
Thanks for sharing the solution so that others can benefit.
@suprsidr has you covered on that: http://gallery.menalto.com/node/105804
Posts: 47
Perhaps he did, but I searched and couldn't find an easy answer after looking thoroughly, but anyway, as you say,
"Maybe this will help someone, that was my intent."