31
Discussion & Troubleshooting / Re: IPTC and Exif are not displayed
« on: September 15, 2011, 01:59:23 PM »
Yes , i have checked ..it was enabled.
4images code on GitHub Click here to visit GitHub.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
));
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript">
$(window).load(function(){
//for each description div...
$('div.description').each(function(){
//...set the opacity to 0...
$(this).css('opacity', 0);
//..set width same as the image...
$(this).css('width', $(this).siblings('img').width());
//...get the parent (the wrapper) and set it's width same as the image width... '
$(this).parent().css('width', $(this).siblings('img').width());
//...set the display to block
$(this).css('display', 'block');
});
$('div.wrapper').hover(function(){
//when mouse hover over the wrapper div
//get it's children elements with class descriptio
//and show it using fadeTo
$(this).children('.description').stop().fadeTo(500, 0.7);
},function(){
//when mouse out of the wrapper div
//use fadeTo to hide the div
$(this).children('.description').stop().fadeTo(500, 0);
});
});
</script>
div.wrapper{
position:relative; /* important(so we can absolutely position the description div */
}
div.description{
position:absolute; /* absolute position (so we can position it where we want)*/
bottom:0px; /* position will be on bottom */
left:0px;
display:none; /* hide it
/* styling bellow */
background-color:black;
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size:15px;
color:red;
}
div.description_content{
padding:10px;
}
{image}
replace with the below one: {if ads}
{ads}
{endif ads}
{ifno ads}
{image}
{endifno ads}
Sathish Thank you, i have done this already in Sessions.php but i need to redirect my indexed links to the new Permalink structure. so if someone is following the old link structure from search engines may ends up in the new one.
@ V@no,
i used your optimized code for session.php and im extremely glad that with that help i reduced my server load to half. now i want to modify the permalink structure in .htaccess, i changed the structure on a demo site and it worked but i need help in one thing n that is Redirection of old permalink structure to the new one
right now i have this structure in .htaccess
RewriteRule ^img-(.*)-([0-9]+)\.htm$ details.php?image_id=$2&%{QUERY_STRING}
so when i change it to
RewriteRule ^Wallpaper-(.*)-([0-9]+)\.html$ details.php?image_id=$2&%{QUERY_STRING}
how do i redirect the old one to the new structure for Search engine bots and backlinks ? so if someone come from google's search result they go through the new structure instead of a finding a 404 error
regards
Yousaf
This looks very promising... but I have a question:first question: It will add numbers to the end of the name until it gets a username that does not already exist.
What would happened when you signup with facebook account and your username is already taken?
I have also noticed that there is error with logout link. When you want to logout from gallery some FB code show up.
second one: do you have php warnings being suppressed? I do know it makes a call to facebook to see if you are attached or not but I rechecked the code to make sure I removed that array that you say is showing up. Can you provide me with a link to see if it is the same thing?
Thx for you answers, here is attached screenshot of that error that i was talking about...
@ sathishIPL,
It looks like it is logging into facebook correctly, just not into 4images.
You need to recheck the inserts to make sure you placed everything in the correct places.
If you can zip your changed files and send them to me I can take a look at them.
site.com/stuff/cat-nokia-7710-themes-27.htm?page=2
site.com/stuff/cat-nokia-7710-themes-27.htm?page=3
......site.com/stuff/cat-nokia-7710-themes-27.htm
site.com/stuff/cat-nokia-7710-themes-27.htm?page=2
site.com/stuff/cat-nokia-7710-themes-27.htm?page=3