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..
But then when viewing the page I saw HTML EDIT, and I didn't want that and wondered how to get rid of it. I looked through my directories and found it in page.html and got rid of it.

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,
lo and behold, my page went back to the default look. I refreshed the page a few times, restarted the computer, cleared the cache, and it still wasn't working. I tried putting the image
in a different folder and that didn't work. Finally I found a more recent painting of mine that I wanted to showcase and compressed the image and made it a reasonable size. I saved it
in my landscapes folder, and carefully named it. Now it showed up but it was too big. I finally made it a smaller size and "Voila`," it worked!

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.
http://www.hansonartists.com (uses the cleancanvas theme)
Hopefully, someone can get some help with this idea and not spent

*Here's a sceen shot of the rootpage.html.php page

Tseyigai

AttachmentSize
themes-views-rootpage.html_.php_.jpg75.37 KB
 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Tue, 2012-11-20 13:51

Thanks for sharing the solution so that others can benefit.

tseyigai wrote:
Hopefully, someone can get some help with this idea and not spent

@suprsidr has you covered on that: http://gallery.menalto.com/node/105804

 
tseyigai

Joined: 2012-11-06
Posts: 47
Posted: Wed, 2012-11-21 00:49
tempg wrote:
Thanks for sharing the solution so that others can benefit.

tseyigai wrote:
Hopefully, someone can get some help with this idea and not spent

@suprsidr has you covered on that: http://gallery.menalto.com/node/105804

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."