13 Topics

Member Avatar for
Member Avatar for Niloofar24

Hello. This is my code: from bs4 import BeautifulSoup import urllib2 url = urllib2.urlopen('http://www.website_address.com') soup = BeautifulSoup(url) images = soup.find_all('img') Now how can I get the "src" of img tags?

Member Avatar for Gribouillis
0
17K
Member Avatar for adrian.mcguinness

Hi, I have several image tags overlapping using css and am able to use hover to make the one selected move to the top of he pile. #gallery img{ float: left; width: 250px; height: 250px; position: relative; } #gallery img:nth-child(2) { left: -200px; } #gallery img:hover{ z-index: 10; } I …

Member Avatar for gentlemedia
0
360
Member Avatar for phoenix254

$result = mysqli_query($con,$addtothedb); $cur = "USERS/"; echo $des = $cur.$email.'/'; if($result){ if ( mkdir($des,0777) ) { //http://pastebin.com/7J0BM5fD echo "<br/>"; echo "<br/>"; echo $file_name = $_FILES['file']['name']= 'mfix.png'; echo "<br/>"; echo "<br/>"; echo $file_tmp =$_FILES['file']['tmp_name']= 'mfix.png'; echo "<br/>"; echo "<br/>"; move_uploaded_file($file_tmp, $des.$mfix); echo "<img src='<?php echo $mfix ;?>' alt='Image' style='width:100px;height:100px'>"; /*echo "<img …

Member Avatar for phoenix254
-1
196
Member Avatar for nadiam

hey guys so i have these drop down menu using ul and anchor and when i click on one an image should be displayed. the problem is when i click it the image appears but then disappears right after, like a second. html: <ul> <li><a href="" onclick="document.getElementById('banquetsix').style.visibility='visible';">6 Seater</a></li> <li><a href="">8 …

Member Avatar for patk570
0
845
Member Avatar for stavros141

Hello everyone I am facing a problem that I have never encountered before and googling around just isn't helping. I was assigned to migrate a pmWiki server to a new MediaWiki server which was supposed to run as a virtual machine on a Red Hat Cluster Suite. My coworker and …

Member Avatar for stavros141
0
297
Member Avatar for woodenduck

How can I prevent a XSS attack but allow user to post iframe and img? My page is php based but I allow users to submit text and have allowed only iframes and imgs with strip_tag How do I prevent a user from launching an xss attack?

Member Avatar for woodenduck
0
324
Member Avatar for mario90

hello i have this little image script that work on greasamonkey, the script is good and work like a charm it help me to block images i dont want to see but i wished it has interval timer becasue i run it over site with dynamic content ..the targeted pics …

Member Avatar for mario90
0
207
Member Avatar for brecht.carnewal

I have some images in a div called main which has the opacity set to 82% #main { background-color:#191919; width:800px; opacity:0.82; filter:alpha(opacity=82); } These images however are also slightly transparant. I tried setting the opacity of the image to 100% but that didn't help. I have no idea what's causing …

Member Avatar for IIM
0
168
Member Avatar for brainfo

i am trying to make an image align to be vertically centered. As it works perfect in all browser except IE7 . I already tried a lot. here is my css and div. .vertical_align_center{ background: none repeat scroll 0 0 #FFFFFF; display: table-cell; height: 209px; line-height: 209px; margin: 4px; text-align: …

Member Avatar for brainfo
0
235
Member Avatar for katties

I wonder which one is better: adding header image with img src in html, or as a background in CSS. Also, in source code I can specify alt (for accessibility). I know IE6 has issues with transparent png. What is your practice?

Member Avatar for twiss
0
119
Member Avatar for suhaildawood

Hi, I am trying to add a background image in turing, can somebody so me how I would be able to do this?

0
121
Member Avatar for seularts

I need some help with sizing an image in height. My page is tzr.ro, and as you can see in some browsers such as explorer and chrome the image height differs. So i have this small piece of code that i need to adjust: img { max-width : 350px; height …

Member Avatar for scottloway
0
185
Member Avatar for rpjanaka

hi all, i am using an image as a button. so i want to disable it on some actions. so i used document.getElementById("imagName").disabled = true; but it seems that this property is not working for

Member Avatar for digital-ether
0
8K

The End.