Show Posts

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.


Messages - aedemirci

Pages: [1]
1
Discussion & Troubleshooting / Re: DB Error
« on: November 21, 2005, 03:20:38 PM »
So it seems like a duplication error only appears when using a keyword containing some non-latin letters, right ??? Because different images may have common keywords...thx  :D

2
Discussion & Troubleshooting / Re: DB Error
« on: November 21, 2005, 03:01:23 PM »
but as I mentioned I validated many other images with non-latin letters without any problem...

3
Discussion & Troubleshooting / DB Error
« on: November 21, 2005, 01:45:46 PM »
Hi All,

I was validating an image submitted by a user. But I faced an error like this :

DB Error: Bad SQL Query: INSERT INTO 4images_wordmatch (image_id, word_id, name_match, desc_match, keys_match) SELECT DISTINCT 25, word_id, 1, 1, 0 FROM 4images_wordlist WHERE word_text = 'Çiçek'
Duplicate entry '25-95' for key 1


But altough I received this error, the image validated. No problem with addind the image but the error message just bothered me. Any solutions to get rid of this error ???  Thx in advance :mrgreen:

P.S. : By the way this is not a language problem as other images with info including same chars was validated smoothly...Is there anything like category and image names cannot include same words ??? Just thinking... If there is something like this, anyway to fix it ? Thanks :-) :-)

4
Mods & Plugins (Requests & Discussions) / Re: Auto-Sizing Pop-Up for Images
« on: November 14, 2005, 05:57:20 PM »
I think this is gonna work after a few minor fixes  :D :D :D Thank you very much indeed (for your patience also)  :oops: :oops: :oops:

5
Mods & Plugins (Requests & Discussions) / Re: Auto-Sizing Pop-Up for Images
« on: November 14, 2005, 05:32:27 PM »
But it's not a solution as the new window also contains data. I want people to see only original image...I know I want too much, but that's what I want  :lol:  :lol:  :lol:  :lol:  :lol:

6
Mods & Plugins (Requests & Discussions) / Re: Auto-Sizing Pop-Up for Images
« on: November 14, 2005, 05:16:38 PM »
Any possible solutions yet ? :mrgreen:

By the way, I extracted the codes and tried in a blank HTML and they worked...And that made me more and more nervous  :twisted:

Thx :)

7
Mods & Plugins (Requests & Discussions) / Re: Auto-Sizing Pop-Up for Images
« on: November 14, 2005, 12:08:18 AM »
ok  :D :D :D :D :D goodnight...

8
Mods & Plugins (Requests & Discussions) / Re: Auto-Sizing Pop-Up for Images
« on: November 14, 2005, 12:01:08 AM »
do you want me to send you my details.html ???

9
Mods & Plugins (Requests & Discussions) / Re: Auto-Sizing Pop-Up for Images
« on: November 13, 2005, 11:59:22 PM »
Sorry...The problem maybe with me :D

Now I replaced {image} tag with {thumbnail_openwindow}...still nothing plus no link on thumbnail anymore :)

10
Mods & Plugins (Requests & Discussions) / Re: Auto-Sizing Pop-Up for Images
« on: November 13, 2005, 11:54:08 PM »
where should I put that tag ??? is it like this ? 'Cause it didn't work...lol...

<a href="javascript:popImage('{thumbnail_openwindow}','{image_name}','{width}','{height}')">{thumbnail}</a>

11
Mods & Plugins (Requests & Discussions) / Re: Auto-Sizing Pop-Up for Images
« on: November 13, 2005, 11:49:08 PM »
still doesn't work. besides I don't want the real image be seen in the details page. I want a thumbnail on the details page and after clicking on it, visitors should see the real image in a auto-sized pop-up windows... :) :)

12
Mods & Plugins (Requests & Discussions) / Re: Auto-Sizing Pop-Up for Images
« on: November 13, 2005, 11:40:44 PM »
also tried it  :cry: still nothing...  :cry:

14
Mods & Plugins (Requests & Discussions) / Auto-Sizing Pop-Up for Images
« on: November 13, 2005, 11:22:16 PM »
Hi All,

I read related topics with this problem. One could fix it but no explanation...Here comes the problem. I inserted the lines below {header} tag in details.html.

Here is the code :

<script>

// Script Source: CodeLifter.com
// Copyright 2003
// Do not remove this notice.

// SETUPS:
// ===============================

// Set the horizontal and vertical position for the popup

PositionX = 100;
PositionY = 100;

// Set these value approximately 20 pixels greater than the
// size of the largest image to be used (needed for Netscape)

defaultWidth  = 500;
defaultHeight = 500;

// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows

var AutoClose = true;

// Do not edit below this line...
// ================================
if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY;
function popImage(imageURL,imageTitle){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('<html><head><title>Loading...</title><style>body{margin:0px;}</style>');writeln('<sc'+'ript>');
writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);');
writeln('width=100-(document.body.clientWidth-document.images[0].width);');
writeln('height=100-(document.body.clientHeight-document.images[0].height);');
writeln('window.resizeTo(width,height);}');writeln('if (isNN){');       
writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}');
writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('</sc'+'ript>');
if (!AutoClose) writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
else writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
writeln('<img name="George" src='+imageURL+' style="display:block"></body></html>');
close();      
}}

</script>


and replaced the {image} tag with <a href="javascript:popImage('{media_src}','{width}','{height}')">{thumbnail}</a>...

Finally, I reloaded the page without any Java errors. Nevertheless, the pop-up was not functioning  :roll: :roll: :roll: :roll:

Any possible fixes ??? All the best...

Pages: [1]