1 (edited by 2012-02-16 16:46:49)

Topic: Clickable Thumb Issue

I'm having a problem with adding a clickable thumb to my textarea. I have duplicated the short story box, renamed it and added the relevant info within the right files to make sure the new name works fully, and saves the data.

The issue, is that I cannot input images into it.  I have added the bit at the top duplicating the short story ID ($spotlight_image_id = 'spotlight_image';) and edited the path within the a href 'insert link' tag, but it still wont work?

<a href=# onclick=\"window.open('$PHP_SELF?&mod=images&action=quick&area=$spotlight_image_id&wysiwyg=$use_wysiwyg', '_Addimage', 'HEIGHT=500,resizable=yes,scrollbars=yes,WIDTH=360');return false;\" target=\"_Addimage\">

The only thing I can think of, is it's an issue from within the updated images.mdu, as If I use the standard install version, it works fine..

Any ideas?

Re: Clickable Thumb Issue

Just guessing what you want. I assume you mean the advanced images.mu
Have you looked at line 578 onwards in images.mdu?

This may give a clue
https://cutephp.com/forum/index.php?showtop...ost&amp;p=91452
I am not familiar with spotlight?
That is where I add an image using highslide.

else {
$link1 = htmlspecialchars('<a id="thumb1" class="highslide" onclick="return hs.expand(this)" href="'.$config_http_script_dir.'/data/upimages/'.($folder == '' ? '' : $folder.'/').$file.'">');
}

3 (edited by 2012-02-17 22:07:29)

Re: Clickable Thumb Issue

@Filou83
I'll try to explain abit more. See below.

@Damoor
Sorry, ignore the 'spotlight', that is the new class I have created. The 'spotlight_image_id' replaced what was originally there, which was 'short_story_id'.

This may help: http://screensnapr.com/v/BWA4Un.png

What I have done, is add a text box and the link to upload an image. I want the image to then display the html output text of that image within this new text box.