remove link border (was frame) remove link border (was frame)
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

remove link border (was frame)

Started by scifirocket21, March 08, 2007, 07:00:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scifirocket21

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.

vuud

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



Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

scifirocket21

i figured it out.  i was using linkstyle instead of image style

Moumentai

Could you please explain how you solved this?

scifirocket21

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();
?>


Nibbler

No. The class name in the CSS needs to begin with a dot to indicate it's a class.


.teststyle {
border-style: none;
}

scifirocket21

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

Nibbler

Only change what I told you to change. Nothing else.

scifirocket21


scifirocket21

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.

Joachim Müller

We have a strict "one question per thread" policy. You agreed to respect it when signing up.