View Single Post
  #24  
Old 06-23-2011, 04:20 PM
Chibi_Chicken Chibi_Chicken is offline
Niwatori Kami
 
Join Date: Jun 2011
Posts: 63
Gender: Unknown/Other
Credits: 5,036
Chibi_Chicken is on a distinguished road
Default

Quote:
Originally Posted by Gloometh View Post
The egg image is stretched
In customadopt.php line 146
Code:
repace <img height='284' alt='Dynamically generated image' src='preview.php' width='88'>
with <img alt='Dynamically generated image' src='preview.php' >
First start with your image prep. I am going to use Teshia Elefunions they are pngs and have transparency.

I will need to build a body layer. So open it up in an image editing software (in my case old copy of PS.) With the magic of the magic wand and the select->inverse I have a body layer.


Now save it out as a png-8 File->Save as.
When I name my file I want a unique name. So when I upload it to the script it wont have problems, due to it naming convention of the script.

I will also make an preview image that is displayed when the user wants to pick from the different adopts. the image is simply the body and lines combined.

Now create a new adopt in the admin page, I have used the Change Adoptables->Upload a new Adoptable Image for the preview image.
Now I will create a new adoptable Elefunions setting up the Basic Information, and Adoption Information and Conditions. I do not add anything to Alternate Outcomes Settings.


In the Admin Center in Site Settings at the bottom, is the plug-in Custom Pet Admin or you can just go to it directly by cpetadmin.php.


Here click on upload an image layer and set up your layers.
Remember to change from lines to body when uploading the different layers!


You can now have an Elefunion.
Here are the images that I used:
Reply With Quote