13 Topics
|
|
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? |
|
|
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 … |
$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 … |
|
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 … |
|
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 … |
|
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? |
|
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 … |
|
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 … |
|
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: … |
|
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? |
|
Hi, I am trying to add a background image in turing, can somebody so me how I would be able to do this? |
|
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 … |
|
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 |
The End.