Code errors inserting images
Starting today I am unable to insert images via either drag and drop or usig the Insert menu in DreamWeaver CS4 on a Windows XP PC.
When I try to drag and drop into code view, which I've done for years, DreamWeaver inserts a new set of tags for a blank page where I wanted the image inserted and puts "Image" inside the title tag and a HTML comment saying MENU-LOCATION=NONE.
If I use the Insert Image menu option I get a Macromedia Copyright comment inserted into the head of the document I'm working on.
When I save a page I get an error While executing onLoad in _afterSave.htm JavaScript error afterSave is not defined.
Any ideas... other than upgrading to CS5.5, though that may have to be an option.
Start with this KB article
Troubleshoot JavaScript errors | Dreamweaver CS4, CS5, CS5.5
http://kb2.adobe.com/cps/405/kb405604.html
Similar Messages
-
Error inserting image file in Excel 2013, it's working with administrator privileges
When I tri to insert image file like .JPG in Excel 2013, I get an import error. It's working fine with administrator privileges.
I check, graphic filter (registry values) and made also an Office repare. But i have still the problem.
My computer: Windows 8.1 64 bits, Office 2013 32 bitsTry to check the grant permission for the Excel property itself.
Try to insert image from other path, e.g. D:\ to check if we still receive the error.
Try to run Excel with safe mode. ("Excel.exe /safe") and perform th insert action without any add-ins interrupt. Thanks.
Tony Chen
TechNet Community Support -
Hi to all,
Hi need to insert an image in a report created with Oracle Report Builder 10g. But, inserting a jpg or gif image, this error is displayed
rep-0820 cannot import specified image
How can resolve this problem? Wich image format I must to use ?
Thank You and Best RegardsHi Nick,
To insert an image in Report Builder 10g just do the following:
Paper Layout -> Insert menu -> Image -> Browse
I have used Jpg and Gif images without any problem,
Hope this helps you
Best Regards
Carlos -
How to create table and insert images and audio files ...
hello to all , i am doing my b.e cse .
at current v r studing DB and pl/sql codes ....
i just need to know simple way of code to insert images and audio files in a table .
i tried some of these ,
CREATE TABLE myTable(Document varbinary(max))
INSERT INTO myTable(Document)
SELECT * FROM
OPENROWSET(BULK N'C:\Image1.jpg', SINGLE_BLOB)
but not workiing
it shows some errors.
i use oracle 10g. thank u :) and also i tried using blob and bfile datatypes , table created but cannot insert values !
ROBOKhello to all , i am doing my b.e cse .
at current v r studing DB and pl/sql codes ....
i just need to know simple way of code to insert images and audio files in a table .
i tried some of these ,
CREATE TABLE myTable(Document varbinary(max))
INSERT INTO myTable(Document)
SELECT * FROM
OPENROWSET(BULK N'C:\Image1.jpg', SINGLE_BLOB)
but not workiing
it shows some errors.
i use oracle 10g. thank u :) and also i tried using blob and bfile datatypes , table created but cannot insert values !
ROBOK -
I've been using Firefox (now 24.0) to browse NI forum and I've never been able to insert images in my messages, and so I always include them as attachments.
I select "Insert/edit image" icon
I select "From My computer >> Browse"
I point to the image file and I get "Error Code: HTTP Error"
Probably there is something I miss, but I don't know what.
Could someone help me, please?
Vix
In claris non fit interpretatio
Using LV 2013 SP1 on Win 7 64bit
Using LV 8.2.1 on WinXP SP3
Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
Using CVI 6.0 on Win2k, WinXP and WinXP Embeddedvix wrote:
Yes, I'm able to attach files to the message, but your approach seems me a little bit long...
Maybe, but it also keeps my picture library clean.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
I've had this problem since I switched from MX2004 to version
8, and now on CS3. When I click on Insert Image I get a message
that in Image.htm a javascript error occured. The strange thing is
I have a second computer with CS3 installed and since re-installing
windows have not experienced this problem on that computer. I have
followed the instructions in:
Technote:
Troubleshooting JavaScript errors in Dreamweaver but this
doesn't help.
I am using Windows XP SP2 with Dreamweaver setup to connect
via RDS to my Windows Server 2003 Coldfusion web server.
If anyone has some useful insight to this very frustrating
issue that Adobe seems to have no support information on I would be
very gratefulTroubleshooting JavaScript errors in Dreamweaver
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"matstone98" <[email protected]> wrote in
message
news:fdt7os$67g$[email protected]..
> I've had this problem since I switched from MX2004 to
version 8, and now
> on
> CS3. When I click on Insert Image I get a message that
in Image.htm a
> javascript error occured. The strange thing is I have a
second computer
> with
> CS3 installed and since re-installing windows have not
experienced this
> problem
> on that computer. I have followed the instructions in:
>
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19105&sliceId=2
> but this doesn't help.
>
> I am using Windows XP SP2 with Dreamweaver setup to
connect via RDS to my
> Windows Server 2003 Coldfusion web server.
>
> If anyone has some useful insight to this very
frustrating issue that
> Adobe
> seems to have no support information on I would be very
grateful
> -
DW CS5 -wrong path shown in code after using'Insert/Image'.
Normal site management as follows:
Site Name is set up, eg. - abcd.
Local Folder is set as root - c:/abcd
Logo image is in c:/abcd/images
Using ‘Insert/ Image’ Dreamweaver enters the correct image in the correct div, but the source code reads:
<div id="logo"><img src="../../../../abcd/images/logo.jpg" width="248" height="78" alt="abcd" /></div>
instead of: <div id="logo"><img src="/images/logo.jpg" alt="abcd" /></div>
So the path for the image seems to be defaulting incorrectly and I can see the url in the ‘select image source’ window is automatically showing a longer path: ../../../../abcd/images/
Ideas tried so far:
Replaced the url manually to the local path (works fine), but it defaults again next time to the longer path.
Tried recreating the site cache and FAQ corrupt cache fix.
Removed the site and set it all up again.
Manually change the path in the code and DW no longer finds the image.
I’m a newbie who has only created a handful of sites so any ideas are very much appreciated – thanks, Shelly JHi Murray,
Thanks very much for the reply - as a first time forum user it is great to see there are friendly people out there.
Site name abcd and Local Site Folder showed C:\abcd\ as per normal (not using root relative) and in advanced settings links are relative to document, not site root, but you gave me a great lead and the problem seems to be resolved now, thanks. With my workflow I manually transfer the completed files to another drive (rather than the DW remote function) where a developer then adds value and ftp's them up and it seems that there was some glitch between the server and my PC. I had already tried resetting my PC earlier, but he has reset his end now and my DW is no longer confused. So thanks again. (perhaps simply hardware but I suspect the 'include' that was added to my last site's code - who knows ha ha..) Cheers, Shelly. -
Error in inserting images into table
Hi All,
I am trying to insert images into a table.
Followed these steps:
CREATE TABLE XX_DEMO_IMG_TBL
file_id NUMBER(5),
file_name VARCHAR2(30),
file_data BLOB
LOAD DATA
INFILE *
REPLACE
INTO TABLE XX_DEMO_IMG_TBL
FIELDS TERMINATED BY ','
file_id INTEGER(5),
file_name FILLER CHAR(30),
file_data LOBFILE (file_name) TERMINATED BY EOF
BEGINDATA
1,c:\1.txt
used sqlldr cmd
Got the following error:
*ecord 1: Rejected - Error on table XX_DEMO_IMG_TBL.
ORA-01460: unimplemented or unreasonable conversion requested*
I am using SQLPlus: Release 10.2.0.3.0 -*
Can any one please guide where am i going wrong ?
Thanks,
SarithaThanks for your time.
I got a solution for this, I modified my control file like this..
LOAD DATA
INFILE *
REPLACE
INTO TABLE SCOTT.XX_DEMO_IMG_TBL
FIELDS TERMINATED BY ','
file_id ,
file_name ,
file_data LOBFILE (file_name) TERMINATED BY EOF
BEGINDATA
1,c:\Users\SariRavi\Desktop\logo.gif
and it worked.
Thanks,
Saritha -
When I hit Ctrl+Alt+I to insert an image, or go to Insert
> Image, I get the following message:
ERROR
While executing objectTag in Image.htm, a JavaScript error
occurred.
I cannot find any information about this anywhere online. Any
suggestions?Troubleshooting JavaScript errors in Dreamweaver
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"EvilJordan" <[email protected]> wrote in
message
news:f61s5u$f4a$[email protected]..
> When I hit Ctrl+Alt+I to insert an image, or go to
Insert > Image, I get
> the
> following message:
>
> ERROR
> While executing objectTag in Image.htm, a JavaScript
error occurred.
>
> I cannot find any information about this anywhere
online. Any suggestions?
> -
Error: insertion of infotype 1000 (return code 2)
Hi All,
We are trying to Update the Org Structure in ECC which is typically used for the MM Processes.
When ever we are trying to update the BP or create a new BP for Few Specific Company Codes we are receiving the below error
Error: insertion of infotype 1000 (return code 2).
SImilary we also see this error as well
Database update not possible, data record 01S 500304541001A0031
Your inputs are highly valuable.
Regards,
Satyathe problem you mentioned here is not the whole problem in my opinion, so let me take a few assumptions and you tell me if some/all of em are correct or alternately you put in more detail in your query.. ok?
well here goes:
1. you mentioned BP which is a business partner object but you did not talk about hcm at all so am assuming sap hr has not been implemented at all in your sap box... right/
2. then the infotype 100 and insert error is the least of your worries if the above point is correct.
3. then you also have some nominal positions in your sap box to support your logistics process...
4. and then I am taking a wild guess here --> you are trying to have a relation between a position and bp objects directly ...
well I may be totally off the rocker in the above but what you need to tell us could be :
1. explain the business process.
2. then we talk about how you are doing the business process in sap (is hr implemented or not? if yes to what extent etc...) and dont limit this point to logistics,.. cover the whole gamut of how you are doing it in sap today and am sure it spans across hcm and logistics
3. then, a bit more info on what you were trying to do in a step by step fashion,... and where exactly you are encountering the error,.. --> the reason am asking for this is --> in my expereince I have seen a lot of logistics guys who are gurus intheir areas of expertise but you talk sap hr they are like babies,.. and the vice versa is also true,.. so if you are not able to explain point 2 above in full this point will give the complete technical picture.
provide the above and loads of folks here will be able to help you out.
cheers -
Hi,
Made a website based on a template, and as so many people, was afterwards struggling with optimizing my titles, descriptions and keywords for SEO. These were/are locked in the head section of the template. I found lots of useful information on the forum to unlock this section, but apparently I am doing something wrong and I can't figure out what. The code error I get is that there is a syntaxis error in the template comment. Also I do see that the color of the code is maybe not the way it should be.
This is the code I pasted in:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<!-- TemplateBeginEditable name=”basisontwerp” -->
<title>untitled document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<meta name=”keywords” content=”keywords go here” >
<meta name=”description” content=”description goes here” >
<!-- TemplateEndEditable -->
<link rel="icon" type="rel/icon" href="images/neroli_logo_mini.png" />
<link rel="shortcut icon" href="images/neroli_logo_mini.png" />
<style type="text/css">
After that there is a whole bunch of stuff regarding two.Col.Elst.Lt.Hdr and style sheets etc. but there is a closing </head> tag just before my header and side bar section.
Does anybody know what is wrong with my code? I just don't see it ...
Thanks so much!!!He gek; probeer het opnieuw, nu rechtstreeks vanaf de site ipv als reply via de mail:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http_equiv="Content_Type" content="text/html" charset=utf-8" />
<!-- TemplateBeginEditable name=”basisontwerp” -->
<title>untitled document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<meta name=”keywords” content=”keywords go here” >
<meta name=”description” content=”description goes here” >
<!-- TemplateEndEditable -->
<link rel="icon" type="rel/icon" href="images/neroli_logo_mini.png" />
<link rel="shortcut icon" href="images/neroli_logo_mini.png" />
<style type="text/css">
<!--
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #666666;
margin: 0; /* het is een goede gewoonte om de instellingen voor margin (marge) en padding (opvulling) van het element body op nul in te stellen en daarmee op de standaardinstellingen van de verschillende browsers */
padding: 0;
text-align: center; /* hiermee centreert u de container (het hoofdobject) in IE 5*-browsers Vervolgens wordt de tekst ingesteld op de standaardinstelling van links uitlijnen in de kiezer #container */
color: #000000;
/* Tips voor Elastic-lay-outs
1. Aangezien de algehele grootte van de elastic-lay-outs is gebaseerd op de standaard lettertypegrootte van de gebruiker, hebben deze lay-outs een grotere mate van onvoorspelbaarheid. Bij een juist gebruik zijn ze echter wel toegankelijker voor diegenen die een groter lettertype behoeven omdat de lengte van de regel proportioneel blijft.
2. De grootte van de div-elementen in deze lay-out is gebaseerd op een lettertypegrootte van 100% in het element body. Als u de tekstgrootte algeheel reduceert door middel van font-size: 80% voor het element body of voor #container, dient u niet te vergeten dat de complete lay-out proportioneel kleiner zal worden. Wellicht wilt u de breedtes van de verschillende div-elementen vergroten om dit te compenseren.
3. Als de lettertypegrootte wordt gewijzigd d.m.v. verschillende waarden voor elk element div in plaats van voor het algehele ontwerp (bijv. #sidebar1 krijgt een lettertypegrootte van 70% en #mainContent krijgt een lettertypegrootte van 85%), leidt dit tot proportionele wijziging van de algehele grootte van elk van de div-elementen. Mogelijk wilt u dit aanpassen op basis van uw uiteindelijke lettertypegrootte.
.twoColElsLtHdr #container {
width: 46em; /* deze breedte maakt een container (hoofdobject) die past een browservenster van 800 pixels, als de tekst wordt gehandhaafd in de standaard lettertypegroottes van de browser */
background: #FFFFFF;
margin: 0 auto; /* de automatische marges (d.m.v. auto), in combinatie met een breedte, centreren de pagina */
border: 1px solid #000000;
text-align: left; /* hiermee wordt de instelling text-align: center voor het element body genegeerd. */
.twoColElsLtHdr #header {
padding: 0 10px; /* deze instelling voor padding (opvulling) komt overeen met de uitlijning links van de elementen binnen de div-elementen, die volgen op deze padding. Als een afbeelding wordt gebruikt in de #header in plaats van tekst, wilt u wellicht de padding (opvulling) verwijderen. */
background-color: #DDDDDD;
background-image: url(../images/achtergrond_kleur_buttons_mouse_over.png);
border-top-color: #693;
border-right-color: #693;
border-bottom-color: #693;
border-left-color: #693;
border-top-width: thin;
border-right-width: thin;
border-bottom-width: thin;
border-left-width: thin;
.twoColElsLtHdr #header h1 {
margin: 0; /* door de marge van het laatste element in het element div voor #header op 0 in te stellen voorkomt u het wegvallen van marges – een onverklaarbare ruimte tussen div-elementen. Als om het element div een rand loopt, is dit niet nodig aangezien dit tevens het wegvallen van de marge voorkomt */
padding: 10px 0; /* door het gebruik van padding (opvulling) in plaats van een marge (via het element margin) kunt u het element van de randen van het element div vandaan houden */
/* Tips voor sidebar1:
1. Vergeet niet dat als u een waarde voor lettertypegrootte voor dit element div instelt, de algehele breedte van het element div dienovereenkomstig wordt aangepast.
2. Aangezien we hier werken met em-waarden, verdient het de voorkeur om voor de zijbalk zelf geen padding (opvulling) te gebruiken. Deze wordt dan voor op standaards gebaseerde browsers toegevoegd aan de breedte, waardoor een nog onbekende daadwerkelijke breedte wordt gemaakt.
3. De ruimte tussen de zijkant van het element div en de elementen erbinnen kan worden gemaakt door het aanbrengen van een linker- en rechtermarge voor dergelijke elementen, zoals wordt aangetoond door de regel ".thrColHybHdr #sidebar1 p".
.twoColElsLtHdr #sidebar1 {
float: left;
width: 12em; /* de achtergrondkleur wordt weergegeven over de lengte van de inhoud in de kolom, maar niet verder */
padding: 15px 0; /* binnen dit element div maakt de padding (opvulling) aan de onder- en bovenkant de visuele ruimte */
background-image: none;
background-color: #FFF;
.twoColElsLtHdr #sidebar1 h3, .twoColElsLtHdr #sidebar1 p {
margin-left: 10px; /* de linker- en rechtermarge moeten aan elk element worden gegeven dat in de kolommen aan de zijkant wordt geplaatst */
margin-right: 10px;
/* Tips voor mainContent:
1. Als u dit element div voor #mainContent een andere waarde voor lettergrootte geeft dan het element div voor #sidebar1, worden de marges van het element div voor #mainContent gebaseerd op de lettergrootte ervan, terwijl de breedte van het element div voor #sidebar1 zal zijn gebaseerd op de lettergrootte daarvan. Mogelijk wilt u de waarden van deze div-elementen aanpassen.
2. De ruimte tussen mainContent en sidebar1 wordt gemaakt met de linkermarge van het element div voor mainContent. De kolomruimte blijft gehandhaafd, ongeacht de hoeveelheid inhoud die het element div voor sidebar1 bevat. U kunt deze linkermarge verwijderen als u de tekst van het element div voor #mainContent de ruimte van #sidebar1 wilt laten opvullen wanneer de inhoud van #sidebar1 eindigt.
3. Om het wegvallen van het zwevende element te voorkomen, zult u wellicht via uitproberen een schatting van de maximale grootte van de afbeelding of het element moeten bepalen, aangezien deze lay-out is gebaseerd op de lettertypegrootte van de gebruiker in combinatie met de door u ingestelde waarden. Maar als de gebruiker de lettertypegrootte van diens browser echter op kleiner dan normaal heeft ingesteld, is er in het element div voor #mainContent minder ruimte beschikbaar dan u tijdens het uitproberen ziet.
4. In de onderstaande voorwaardelijke opmerking van Internet Explorer wordt de eigenschap zoom gebruikt om "hasLayout" mee te geven aan mainContent. Hierdoor wordt voorkomen dat zich diverse IE-specifieke bugs voordoen.
.twoColElsLtHdr #mainContent {
margin: 0 1.5em 0 13em; /* de rechtermarge kan worden opgegeven in em- of pixelwaarden. Deze marge maakt de ruimte langs de rechterzijde van de pagina. */
.twoColElsLtHdr #footer {
padding: 0 10px;
background-color: #FFF;
.twoColElsLtHdr #footer p {
margin: 0; /* door de marges van het eerste element in de footer (voettekst) in te stellen op 0 vermijdt u het risico dat de marge wegvalt – een ruimte tussen div-elementen */
padding: 10px 0; /* door het gebruik van padding (opvulling) voor dit element maakt u ruimte (op dezelfde manier als door middel van een marge), zonder het probleem van wegvallende marges */
/* Miscellaneous classes for reuse */
.fltrt { /* dit exemplaar van class kan worden gebruikt om een element aan de rechterzijde van uw pagina te laten zweven. Het zwevende element moet voorafgaan aan het element dat, op de pagina, naast het zwevende element moet staan. */
float: right;
margin-left: 8px;
.fltlft { /* dit exemplaar van class kan worden gebruikt om een element aan de linkerzijde van uw pagina te laten zweven. */
float: left;
margin-right: 8px;
.clearfloat { /* dit exemplaar van class moet op een element div of break zijn geplaatst en dient het laatste element te zijn vóór de afsluiting van een container (hoofdobject) die op zijn beurt een zwevend object volledig dient te bevatten */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
.navigatie {
color: #9F3;
.twoColElsLtHdr #container #footer table tr td {
font-family: Arial, Helvetica, sans-serif;
-->
</style><!--[if IE]>
<style type="text/css">
/* plaats in deze voorwaardelijke opmerking css-correcties voor alle versies van IE */
.twoColElsLtHdr #sidebar1 { padding-top: 30px; }
.twoColElsLtHdr #mainContent { zoom: 1; padding-top: 15px; }
/* de bovenstaande softwaregebonden eigenschap zoom geeft IE de hasLayout die IE nodig heeft om verschillende bugs te vermijden */
</style>
<![endif]-->
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
//-->
</script>
<link href="../personoil.css" rel="stylesheet" type="text/css" />
<link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
</head>
<body class="twoColElsLtHdr">
<div id="container">
<div id="header">
<table width="100%" border="0">
<tr>
<td width="25%" height="130"><img src="../images/neroli logo kleiner.gif" alt="" width="97" height="130" align="left" /></td>
<td width="49%"><img src="../images/copy heading.png" width="344" height="35" vspace="0" align="middle" /></td>
<td width="26%"><img src="../images/neroli logo kleiner.gif" alt="" width="97" height="130" align="right" /></td>
</tr>
</table>
<!-- end #header --></div>
<div id="sidebar1">
<ul id="MenuBar1" class="MenuBarVertical">
<li><a href="../index.html">Personoil</a></li>
<li><a href="../waaromolie2.html">Waarom olie van Personoil?</a></li>
<li><a class="MenuBarItemSubmenu" href="../ingredienten.html">De natuurlijke ingrediënten</a>
<ul>
<li><a href="../basisolien.html">De basisoliën</a></li>
<li><a href="../essentieleolien.html">De essentiële oliën</a></li>
</ul>
</li>
<li><a href="../huidtypes.html">Jouw huidtype</a></li>
<li><a href="../gezichtsmassage.html">Gezichtsmassage en andere tips</a></li>
<li><a href="../bestellen.php">Advies en bestellen</a></li>
</ul>
<h3> </h3>
<!-- end #sidebar1 --></div>
<div id="mainContent">
<ul id="MenuBar2" class="MenuBarHorizontal">
<li><a href="../contact.html">Contact</a> </li>
<li><a href="../betalen.html">Veilig betalen</a></li>
<li><a href="../verzenden.html">Verzending</a> </li>
<li><a href="../voorwaarden.html">Algemene voorwaarden</a></li>
</ul>
<!-- TemplateBeginEditable name="editregion" -->
< >
<h1> Hoofdinhoud </h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam, justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo porttitor, felis. Nam blandit quam ut lacus. </p>
<p>Quisque ornare risus quis ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio. Donec et ipsum et sapien vehicula nonummy. Suspendisse potenti. Fusce varius urna id quam. Sed neque mi, varius eget, tincidunt nec, suscipit id, libero. In eget purus. Vestibulum ut nisl. Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend sollicitudin, molestie id, varius et, nibh. Donec nec libero.</p>
<h2>Kop niveau H2 </h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam, justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio.</p>
<!-- TemplateEndEditable -->
<!-- end #mainContent --></div>
<!-- Dit wiselement dient onmiddellijk te volgen op het element div voor #mainContent om het element div voor #container te dwingen om alle zwevende elementen van een lager niveau te bevatten --><br class="clearfloat" />
<div id="footer">
<p> </p>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6508405-2");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html> -
Hi,
I am using forms6 and database is 8.0.5. I have images stored in a folder say c:\images\. I have a table for item master and the item code is same as the image name in the image folder. Eg : Item code -ABC123 so there is a image jpeg format by the name ABC123. All the records are created in item master.
Now if the user puts 10 images in this folder i want to read all this images and insert it in item master against this item code. Now i want to know the sql for this
1>Reading sequentially all the images from this folder
2>By the image file name read the itemcode from the item master and insert image in that record. I am using Long raw for storing the images.
Thanks in advance.Hi,
I managed reading the images from the folder and but just stuck up with the problem.
Test -1
I declared a variable var_abc long raw.
read_image_file(v_filename,'ANY',var_abc);
update item_master set item_pict = var_abc where item_code = var_item;
Here it gives error at runtime on read_image_file for var_abc
Test-2
I created a nondatabase block and create a column txt_image with type as image.
read_image_file(v_filename,'ANY',:txt_image);
update item_master set item_pict = :txt_image where item_code = var_item;
Here it gives error at compilation on item_pict =:txt_image
Anyone can help me out where i am making mistake ?. -
hi,
i m create table, then create procedure, procedure is successfully compile, but when i m trying to insert image into table it error out.
for inserting image i go with
EXECUTE insert_image_file(1,'C:\sunset.jpg');
sunset.jpg is image which i want to insert in table, and which is present on 'c drive'.
when execute the following error are shown
ORA-22285: non-existent directory or file for FILEOPEN operation
ORA-06512: at "SYS.DBMS_LOB", line 635
ORA-06512: at "SCOTT.INSERT_IMAGE_FILE", line 26
ORA-06512: at line 1
how to solve it.
regards
prashantPrashant wrote:
CREATE OR REPLACE PROCEDURE insert_image_file (p_id NUMBER, p_image_name IN VARCHAR2)
...snipped...Not very nice code... why create an empty image row, then lock it (it is already locked by the uncommitted insert statement), and then update it again? Not very efficient or sensible.
image is on local machine.When a row is created on the server from user input on some PC, who supplied that input? Who read the user's keyboard input on that PC to obtain the values for the columns for the row to create?
Did PL/SQL read the keyboard of that remote PC? Of course not. The client program on that PC read the keyboard input. It then made a client call to the Oracle server. It supplied the data entered via the keyboard by the user to the Oracle server (using a PL/SQL call or using a SQL statement call to Oracle).
Now why would a local image data on that PC be treated any differently than the keyboard data on that PC? How can you expect PL/SQL code running on the Oracle server, to read that image data from the remote PC when the same PL/SQL code is incapable of reading keyboard input from that very same PC?
You need to review your understanding of client-server and how it pertains to using Oracle within client-server architecture. -
Good day!
I'm just new with using databases, and i'm enjoying it.
So I read that you can insert images to a table, and so i decided to try it... and here's where I'm at..
*I made a directory
CREATE directory image_dir as 'D:\Images';
--Directory Created.
*I created a table
CREATE TABLE animages
(aname VARCHAR2(40),
breedno NUMBER(10),
image_file BLOB,
image_name VARCHAR2(40),
CONSTRAINT aname_fk FOREIGN KEY (aname) REFERENCES clist(aname));
--Table Created.
*Then I made a procedure for inserting the images
CREATE OR REPLACE PROCEDURE insert_image_file (p_aname VARCHAR2, p_breedno NUMBER, p_image_name IN VARCHAR2)
IS
src_file BFILE;
dst_file BLOB;
lgh_file BINARY_INTEGER;
BEGIN
src_file := BFILENAME('IMAGE_DIR', p_image_name);
INSERT INTO animages
(aname, breedno, image_file, image_name)
VALUES (p_aname, p_breedno, EMPTY_BLOB(), p_image_name)
RETURNING image_file
INTO dst_file;
SELECT image_file
INTO dst_file
FROM animages
WHERE aname = p_aname AND image_name = p_image_name
FOR UPDATE;
DBMS_LOB.fileopen(src_file, DBMS_LOB.file_readonly);
lgh_file := DBMS_LOB.getlength(src_file);
DBMS_LOB.loadfromfile(dst_file, src_file, lgh_file);
UPDATE animages
SET image_file = dst_file
WHERE aname = p_aname AND image_name = p_image_name;
DBMS_LOB.fileclose(src_file);
END;
--Procedure Created.
*So i was able to do those but when i was trying to execute the procedure i get this error..
execute insert_image_file('African Elephant', 60, 'African_Elephant');
ERROR at line 1:
ORA-22288: file or LOB operation FILEOPEN failed
The device is not ready.
ORA-06512: at "SYS.DBMS_LOB", line 523
ORA-06512: at "SCOTT.INSERT_IMAGE_FILE", line 18
ORA-06512: at line 1
I've been looking for a solution for a day now, hope someone could help me, thanks.
BTW, I got the code for the PROCEDURE from a user named Aparna16, just did some minor editing so it would fit my tables, thanks.
And sorry if the post is too long.Hi;
ORA-22288:Error: ORA-22288
Text: file or LOB operation %s failed %s
Cause: The operation attempted on the file or LOB failed.
Action: See the next error message in the error stack for more detailed
information. Also, verify that the file or LOB exists and that the
necessary privileges are set for the specified operation. If the error
still persists, report the error to the DBA.
Regard
Helios -
Hi,
I'm trying to insert an image into the database using a BLOB datatype. I'm using PHP right now to code everything. I was wondering if anybody has resolved any of the errors I've gotten, or knows how to insert images into the database. I don't have intermedia. Thanks...
$filename = "/u1/apache/docs/image.gif";
$binary_file = addslashes(fread(fopen($filename, "r"), filesize($filename)));
$sql_stmt .= "INSERT INTO mdi_err_image (err_id, err_image) VALUES ($err_id, '$binary_file')";
$stmt = ociParse($conn, $sql_stmt);
ociExecute($stmt);
ORA-00972: Identifier too long (when I pass in a larger gif file)
ORA-01465: invalid hex number error. (when I pass in a really small gif file)Hi there,
I might know... But maybe your questions is not so clear... I don't know if I see what you want to do...
Do you want to have an image in a shape causing wrapping and apply a picture frame or so to it?
If so:
1. Make your shape and put text in it
2. Drop the image into iWeb
3. Being sure it is selected copy it
4. Go into your shape and paste your image into it
5. Open up the Inspector and make the image wrap
6. Again in the Inspector apply picture frames or whatever
Thus you apply picture frames when it already is in the shape, not before.
Regards,
Cédric
Maybe you are looking for
-
Adding field in the selection-screen of a zprogram
hi gurus, i have to add field in the selection-screen of oppurtunities. in database i have a field salesvalues, some of oppurtunity guids have this field value. first i need to add in selection-screen in this alv report. and fetch the data from ztabl
-
HT4847 how to cancel icloud extra storage billing with 15 days?
On my receipt it says I may contact Apple to cancel my extra storage on icloud with 15 days but, there is no contact phone, e-mail, etc. Anyone know how to do this?
-
What is the best tablet for photoshop editing?
For Christmas I want to get my dad a tablet (I guess this is what they are called? With the pen?) for editing his photos on the computer. He loves editing his pictures on Adobe Lightroom, but always complains about the mouse giving him trouble. So wi
-
USE OF NODES : ADVANTAGES : DIS-ADVANTAGES : NODES CAN ONLY BE REFERRED WITH A PARTICULAR LOGICAL DATABASE
-
Creative Cloud Suite special offer - do I qualify?
I currently subscribe to Creative Cloud Photoshop at £29 per month, but I can see there is an offer for the entire CC suite for just £27 per month - when I click on it it says I need to contact Customer Services to see if I qualify - can someone help