how can i remove the link frame around the photo generated by cpmFetch? im sure its a css thing, but I'm not sure what option to use or what css syntax to use. any help you be great.
here is the image: http://mydpnet.com/test.php
i want to remove the blue frame around the image.
Quote from: scifirocket21 on March 08, 2007, 07:00:06 AM
how can i remove the link frame around the photo generated by cpmFetch? im sure its a css thing, but I'm not sure what option to use or what css syntax to use. any help you be great.
here is the image: http://mydpnet.com/test.php
i want to remove the blue frame around the image.
Don't look at it in Internet Explorer :D
Seriously though it is an IE specific thing. But what you want to do is turn off the border on img tags in CSS.
I am too tired / weary of fielding posts today - but I have a page that could help:
http://www.fistfullofcode.com/projects/copperminefetch/tips.php
It does not show how to remove the border, but you should get the idea of how to manipulate the border / img in css and cpmfetch.
I am confident you will be able to work it out from there...
If not, try
http://www.google.com/search?hl=en&q=css+removing+blue+border+from+images&btnG=Google+Search
G'luck
i figured it out. i was using linkstyle instead of image style
Could you please explain how you solved this?
ok, its been almost a year, and i'm having problems with this again.
the following code should remove the blue hyperlink boarder around the image, should it now?
<style type="text/css">
teststyle {
border-style: none;
}
</style>
<?php
include "photos/cpmfetch/cpmfetch.php";
$objCpm = new cpm("photos/cpmfetch/cpmfetch_config.php");
$options = array("imageStyle" => "teststyle");
$objCpm->cpm_viewLastAddedMedia(1,4,$options);
$objCpm->cpm_close();
?>
No. The class name in the CSS needs to begin with a dot to indicate it's a class.
.teststyle {
border-style: none;
}
<style type="text/css">
.teststyle {
border-style: none;
}
</style>
<?php
include "photos/cpmfetch/cpmfetch.php";
$objCpm = new cpm("photos/cpmfetch/cpmfetch_config.php");
$options = array("imageStyle" => ".teststyle");
$objCpm->cpm_viewLastAddedMedia(1,4,$options);
$objCpm->cpm_close();
?>
that didn't work either. i have tried other css styles other than just boarder formats, and they don't appear to work. for some reason, I can't get my scrip to read the script files.
Only change what I told you to change. Nothing else.
fixed
one last question...
where can I find all the various functions for the options array that will describe the different functions that can be applied to things like the "subtitle" function and such? i tried the documentation, but it didnt provide these specifics.
We have a strict "one question per thread" policy. You agreed to respect it when signing up.