Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-09-2011, 08:12 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 57,233
Nemesis is on a distinguished road
Default adding images

on the elements theme i want to add images on the left and right side under the links and under the red and blue boxes. so whats the best way to do that? We should start with the index.php. so do i use <div>? sorry for noob question.
Reply With Quote
  #2  
Old 04-09-2011, 09:23 PM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 37,736
fadillzzz is an unknown quantity at this point
Default

You can do it by editing the template.html file inside the templates/elements folder.
Reply With Quote
  #3  
Old 04-09-2011, 09:39 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 57,233
Nemesis is on a distinguished road
Default

ahh but what if i want different images depending on the page your on?
Reply With Quote
  #4  
Old 04-09-2011, 09:46 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 57,233
Nemesis is on a distinguished road
Default

ya that's not going to work ill just have to do more research on div i think.
Reply With Quote
  #5  
Old 04-09-2011, 09:51 PM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 37,736
fadillzzz is an unknown quantity at this point
Default

Quote:
Originally Posted by Nemesis View Post
ahh but what if i want different images depending on the page your on?
Well, in that case you can place something like :IMAGE1: in the template.html and then edit the showpage functions to replace that :IMAGE1: in the template.html with something else
Reply With Quote
  #6  
Old 04-09-2011, 10:03 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 57,233
Nemesis is on a distinguished road
Default

ok thanks for help, I feel frustrated today from all my homework but did finish an 8 page report. Sorry I don't follow you on that... I think this is a little easier because here's what i did so far. using this code on the index page


<div style="float: left;">

<img src="the url" width="250" height="350" alt="some_text"/>
</div>

It looks like this... http://chaoisland.netne.net/

Now i simply want to scoot it over a bit so it lines up nicely. Thanks again for help.
Reply With Quote
  #7  
Old 04-09-2011, 10:28 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 57,233
Nemesis is on a distinguished road
Default

so it is possible to move it left. left:580px;"> was easy but will it work good for all resolutions, let's see...

Edit: nope failed

Last edited by Nemesis; 04-09-2011 at 10:55 PM.
Reply With Quote
  #8  
Old 04-09-2011, 11:50 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 57,233
Nemesis is on a distinguished road
Default

Ok ok making some progress now. Sorry for a mess of a thread but I am finnally starting to actually learn css and these template.html's

but i think i see a huge problem. If i was to changes hosts wouldn't that break all those image links? i plan on adding tons of different pictures, different ones on each page. So instead of linking them by domain is there a way to do say variables? like DOMAIN/templates/images/img.png. the folders shouldn't change but my domain will so what do webmasters do instead of tediously changing all of the old domain names to the current?

Edit: ok ya thinking about it how would i declare domain equals at the top, i guess in the template.html. that way if a domain name change were to occur i would just change x in domain = x. Forgive me for only have taken a python course and Google can be hard to use for such problems.

Last edited by Nemesis; 04-09-2011 at 11:53 PM.
Reply With Quote
  #9  
Old 04-10-2011, 12:21 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 37,736
fadillzzz is an unknown quantity at this point
Default

Umm...if you don't want to bother to change the domain, just write the path not the full url
HTML Code:
<img src='path/to/image.png' />
Reply With Quote
  #10  
Old 04-10-2011, 12:36 AM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 57,233
Nemesis is on a distinguished road
Default

I knew there was a solution. but see, how was i supposed to know about path. that's what path does right, uses the domain its on.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a Theme PokeFerno Questions and Supports 3 05-13-2014 04:47 PM
Adding Databases Kesstryl Questions and Supports 4 06-08-2012 07:47 AM
Adding new adoptables? Slix Questions and Supports 0 07-05-2011 12:12 PM
Adding adoptable >.< blondbananamix Questions and Supports 12 03-20-2011 06:29 PM
Adding Picture SJC Questions and Supports 3 05-19-2009 01:24 AM


All times are GMT -5. The time now is 01:01 PM.

Currently Active Users: 1012 (0 members and 1012 guests)
Threads: 4,081, Posts: 32,031, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636