ClioSport.net

Register a free account today to become a member!
Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • When you purchase through links on our site, we may earn an affiliate commission. Read more here.

Web Design / Image Help



Right guys, im hoping one of you clever bunch can help me out with something..

Basically I have loads of images that I want to put on a site and have a border around each image. But I cant be arsed to edit each one with photoshop to put the border on.

Is there anyway I can put the border on but make it "hollow" and then add the image separately so it will appear in the middel? then I can just edit the code..

Ta xx
 
  106 GTi
I use a photoshop action to put a border and resize all my images.

IMG_8467.jpg


The Border /watermark file is a photoshop file created at the size I want the images to be at with a transparent background.

Record an action which resizes images to the same size as the border file and then places it in, you can then run this as a batch process on all your images.
 
Cheers Rich, but its not as simple as single borders like that^^ :(

Im going to try and explain it agian..

main.jpg


Basically I have like 50 versions of that, I want them all to look like the polaroid style, but to save me saving to web after I change each layer, I was wondering if there was a quicker and easier way..
 
Last edited:
Cheers guys. That sounds better.

Im a bit of a n00b so im not 100% sure what im doing.. Does someone fancy making me a bit of code please? :eek:
 
  172
^^ s**t, that's where I've been going wrong!

Although, if it was christmas and the CS site, the next few lines would've been along the lines of the following...
<script>
function fnGayFallingSnowToPissEveryoneOff() {
...
}
</script>
;)
 
If you 2 would stop taking the piss and help me that would be much better! :(

Ive got man flu, mistakes are allowed!! :(
 
Ok, Sorry.
Try this as your image tag.

Code:
 <img src="images/image1.jpg" style="put-me-a-nice-border-on-cus-I-cant-be-arsed-to-edit-each-one-in-photoshop: true;" alt="Me with no clothes" />


HTH
KTHXBYE
 
Use the empty polaroid as a frame on the page, then have the image over the top.

Like the pics here: http://www.cliomods.com/events/cliocup-oultonpark/

The slide is one image:

slide_bg.png


Then the cars are another:

tn-cliocup-oultonpark1.jpg

Ok, Sorry.
Try this as your image tag.

Code:
 <img src="images/image1.jpg" style="put-me-a-nice-border-on-cus-I-cant-be-arsed-to-edit-each-one-in-photoshop: true;" alt="Me with no clothes" />


HTH
KTHXBYE

No Daz my sweetness!

I want it like Red Cup said..
 

Rob

ClioSport Moderator
Will all the images be visible at once?

Or will it be 1 per page?

I.e will this boarder need to move or can it be fixed?

What is this page for? I.e paying client, yourself?
 
ok mate, thanks..

main.jpg


Thats the image, but I just want the polaroid style to be the border and then I can add each image without having to make each one with photoshop..
 
Ok, Because I'm good to ya..

image.jpg == image you want showing
bg.jpg == the background image

index.html:
Code:
<html>
    <head>
        <title>Revels</title>
        <link href="style.css" rel="stylesheet" type="text/css">
    </head>
    
    <body>
        <h1>Daz rocks</h1>
        <img class="bg" src="image.jpg" /">
    </body>
</html>


style.css:
Code:
.bg {
    float:left; 
    margin:10px; 
    padding:29px 20px 38px 10px;
    background: url(./bg.jpg) no-repeat;}
}

;)
 
Oh, and obviously changing the margin: and padding: in the CSS to make your image show up in the middle of your background.
 

Rob

ClioSport Moderator
Beat me too it, i'm not a great coder yet, but give it time eh, just finished a webpage but i need a lot more practice! Do you do it for a living daz?
 
Beat me too it, i'm not a great coder yet, but give it time eh, just finished a webpage but i need a lot more practice! Do you do it for a living daz?

I'm not a "Web Designer" as in doing it as a job, but I do quite a bit from time to time.. :)
 
I love you guys.

I say love, its a more lust! ;)

oh and Daz, you took a biiiiig gamble with me being the n00b I am, that I use CSS! lol
 


Top