BLOB image not working in PDF
I have a JPEG image uploaded to DB as BLOB. Iam retreiving BLOB from DB into RTF template.
Here are the contents
<fo:instream-foreign-object content-type="image/jpg" height="3 in" width="3 in" xdofo:alt="An Image" ><xsl:value-of select=".//FIMG"/></fo:instream-foreign-object>
When i run the report, the image appears properly in Excel and Powerpoint. In PDF, it appears distorted and Black and White color.
Can someone guide me what iam missing here. Thanks for any help with this issue.
Use getClass().getResource("image.gif").getImage() to get the Image object.
Similar Messages
-
BLOB image not shows in JSP page!!
Hi Dear all,
I had tried to configure how to show BLOB image to jsp page . The code are works fine and servlet works ok but image can not show only. can you help me that what need to be added. Please help me.
Can any experts help me? BLOB image not shows in JSP page. I am using ADF11g/DB 10gR2.
My as Code follows:
_1. Servlet Config_
<servlet>
<servlet-name>images</servlet-name>
<servlet-class>his.model.ClsImage</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>images</servlet-name>
<url-pattern>/render_images</url-pattern>
</servlet-mapping>
3. class code
package his.model;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Iterator;
import java.util.Map;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import oracle.jbo.ApplicationModule;
import oracle.jbo.Row;
import oracle.jbo.ViewObject;
import oracle.jbo.client.Configuration;
import oracle.jbo.domain.BlobDomain;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class ClsImage extends HttpServlet
//private static final Log LOG = LogFactory.getLog(ImageServlet.class);
private static final Log LOG = LogFactory.getLog(ClsImage.class);
public void init(ServletConfig config)
throws ServletException
super.init(config);
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
System.out.println("GET---From servlet============= !!!");
String appModuleName = "his.model.ModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleName");
String appModuleConfig = "TempModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleConfig");
String voQuery ="select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = 'P1000000000006'" ;// 'P1000000000006' this.getServletConfig().getInitParameter("ImageViewObjectQuery");
String mimeType = "jpg";//this.getServletConfig().getInitParameter("gif");
//?IMAGE_NO='P1000000000006'
//TODO: throw exception if mandatory parameter not set
ApplicationModule am =
Configuration.createRootApplicationModule(appModuleName, appModuleConfig);
ViewObject vo = am.createViewObjectFromQueryStmt("TempView2", voQuery);
Map paramMap = request.getParameterMap();
Iterator paramValues = paramMap.values().iterator();
int i=0;
while (paramValues.hasNext())
// Only one value for a parameter is expected.
// TODO: If more then 1 parameter is supplied make sure the value is bound to the right bind
// variable in the query! Maybe use named variables instead.
String[] paramValue = (String[])paramValues.next();
vo.setWhereClauseParam(i, paramValue[0]);
i++;
System.out.println("before run============= !!!");
// Run the query
vo.executeQuery();
// Get the result (only the first row is taken into account
System.out.println("after run============= !!!");
Row product = vo.first();
//System.out.println("============"+(BlobDomain)product.getAttribute(0));
BlobDomain image = null;
// Check if a row has been found
if (product != null)
System.out.println("onside product============= !!!");
// We assume the Blob to be the first a field
image = (BlobDomain) product.getAttribute(0);
//System.out.println("onside run product============= !!!"+image.toString() +"======="+image );
// Check if there are more fields returned. If so, the second one
// is considered to hold the mime type
if ( product.getAttributeCount()> 1 )
mimeType = (String)product.getAttribute(1);
else
//LOG.warn("No row found to get image from !!!");
LOG.warn("No row found to get image from !!!");
return;
System.out.println("Set Image============= !!!");
// Set the content-type. Only images are taken into account
response.setContentType("image/"+ mimeType+ "; charset=windows-1252");
OutputStream os = response.getOutputStream();
InputStream is = image.getInputStream();
// copy blob to output
byte[] buffer = new byte[4096];
int nread;
while ((nread = is.read(buffer)) != -1)
os.write(buffer, 0, nread);
//System.out.println("Set Image============= loop!!!"+(is.read(buffer)));
os.close();
// Remove the temporary viewobject
vo.remove();
// Release the appModule
Configuration.releaseRootApplicationModule(am, false);
} 3 . Jsp Tag
<af:image source="/render_images" shortDesc="Item"/> Thanks.
zakir
====
Edited by: Zakir Hossain on Apr 23, 2009 11:19 AMHi here is solution,
later I will put a project for this solution, right now I am really busy with ADF implementation.
core changes is to solve my problem:
byte[] buffer = new byte[image.getBufferSize()];
int nread;
vo.remove();
while ((nread = is.read(buffer)) != -1) {
os.write(buffer);
}All code as below:
Servlet Code*
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException,
IOException {
String appModuleName =
"his.model.ModuleAssetMgt";
String appModuleConfig =
"TempModuleAssetMgt";
String imgno = request.getParameter("imgno");
if (imgno == null || imgno.equals(""))
return;
String voQuery =
"select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = '" + imgno + "'";
String mimeType = "gif";
ApplicationModule am =
Configuration.createRootApplicationModule(appModuleName,
appModuleConfig);
am.clearVOCaches("TempView2", true);
ViewObject vo = null;
String s;
vo = am.createViewObjectFromQueryStmt("TempView2", voQuery);
// Run the query
vo.executeQuery();
// Get the result (only the first row is taken into account
Row product = vo.first();
BlobDomain image = null;
// Check if a row has been found
if (product != null) {
// We assume the Blob to be the first a field
image = (BlobDomain)product.getAttribute(0);
// Check if there are more fields returned. If so, the second one
// is considered to hold the mime type
if (product.getAttributeCount() > 1) {
mimeType = (String)product.getAttribute(1);
} else {
LOG.warn("No row found to get image from !!!");
return;
// Set the content-type. Only images are taken into account
response.setContentType("image/" + mimeType);
OutputStream os = response.getOutputStream();
InputStream is = image.getInputStream();
// copy blob to output
byte[] buffer = new byte[image.getBufferSize()];
int nread;
vo.remove();
while ((nread = is.read(buffer)) != -1) {
os.write(buffer);
is.close();
os.close();
// Release the appModule
Configuration.releaseRootApplicationModule(am, true);
}Jsp Tag
<h:graphicImage url="/render_images?imgno=#{bindings.ImageNo.inputValue}"
height="168" width="224"/> -
Hyperlink with tracking applied does not work in PDF
We use lots of web addresses in our advertising and generally the web addresses automatically convert to hyperlinks when we distill the files and make PDFs. Recently we've had two instances where someone applied tracking or justification to the line of text containing the url to make it spread across the page. When we make our PDF the url is not clickable. Is there anyway around this? We tried actually creating a hyperlink manually in InDesign by using the Hyperlinks panel and entering the address, but that didn't work either.
Peter,
We'll look into that. We already do two separate PDFs for print and web, but
we are distilling both right now. Wouldn't be too much of a problem to
change to exporting the web version I don't think.
I did a test, just curious, is there a way to keep it from putting a black
box around the link on the PDF?
Thanks for your help! We appreciate it!
Beth
From: Peter Spier <[email protected]>
Reply-To: <[email protected]>
Date: Fri, 14 May 2010 13:24:04 -0600
To: Beth Phillips <[email protected]>
Subject: Hyperlink with tracking applied does not work in PDF
Distilled PDF uses Postscript which does not support hyperlinks and
interactivity. To make your hyperlinks in ID you'll need to export and check
the Include Hyperlinks and Include Interactiviity boxes.
Your printer doesn't need hyperlinks because they don't work on a printed
page. The requirements for print and interactive PDF are quite different, and
you may find you need to make two versions.
> -
1. Shed images not working as of Nov. 12 2009
Hi all
Thanks for all the info - but I'm still stumped. I have tried generating my .chm
files to the default SSL folders, manually copying all the child chms to the SSL
folder for the master project, letting RH copy them, generating all chms to an
external folder... no matter what I do, every time I recompile the master
project it picks up random old stuff. I have checked and rechecked that my
merged TOC items are to the latest child chms...
Sometimes when I recomplie the master project, even the content in that reverts
back to a previous version, sometimes it doesn't...
I have looked at the Merged Files list in the hhp file, I have deleted this file
and started my merge from scratch, I have manually deleted some paths (some
paths are to directories on the server where any files for this project have
long since been deleted...) directly in this file, but again every time I
recompile the master project it picks up random old versions of the child chms (
and the huge list of old merged files are put back in the hhp file. Even when I
delete all chms from all locations in the folder I'm working in on my C drive,
delete all the merged TOC items from the master project, save it, and
recompile it, the list of old merged files reappears in the hhp file).
Any more thoughts gratefully received:-)
Also - I don't have a Baggage Files folder??
One more thing... If I delete ALL the files under Merged Files in the hhp file using HTML Help Workshop, it crashes -
Security option is not working for PDF Report
security option is not working for PDF Report , e.g password , bug??
what version of SQL Developer are you using?
-
Anychart save as pdf/image not working
A while ago I posed this question when the right click, save as stopped working on my APEX charts
Apex charts - right click, save as image (not responding)
The problem resolved when anychart.com was back up, but the problem is occurring again and I wonder if they've moved their php files. Not even in Hilary's sample app is working. We think this happened within the last month.
After choosing save as image and a location, the "saving" just keeps spinning.
Most anychart google results at the moment seem to revert to the same landing page, and webcached copies refer to locations that no longer exist.
I wonder with post anychart7 cleanup, have they moved the supporting php files? For instance, this location no longer exists
http://www.anychart.com/products/anychart/saveas/pdf/PDFSaver.php
A workaround is to use a local copy of the php file with custom XML
<settings>
<pdf_export file_name="mychart.pdf" use_title_as_file_name="true" url="/i/AnyChart4_SaveAsPDF_php4/PDFSaver.php" image_type="jpg" />
But I only have the PDFSaver, not the AnyChartPNGSaver.php
This file no longer exists either:
http://anychart.com/products/anychart/docs/users-guide/export_image_scripts/php.zip
Does anyone know where I can source the png saver php, or suggest another workaround? Or have any other information on this issue.
An email to [email protected] back in 2013 got no reply.
APEX 4.2.0
Scott.Hi Scott,
So, if i understand properly, making this change
<settings><pdf_export file_name="mychart.pdf" use_title_as_file_name="true" url="/i/AnyChart4_SaveAsPDF_php4/PDFSaver.php" image_type="jpg" />
will avoid atleast PDF issue? And as i dont have privileges to install or deinstall anything on /i/ folder, still this will work and URL path will remain same for each installation?
Adding another question, as you said "it sends base64 information when converting to PDF", does it mean i will not be able to convert to PDF, if i am using intranet and PC's not accessible to internet?
Thanks
Sunil Bhatia -
Full-Text search is not working with PDF files - SQL Server 2012 64 bit
Hi,
We are in the process of storing PDF files in SQL Server 2012 with Full-Text search capability.
I followed the steps as below and it works fine with word document but not for PDF files. I tried with PDF ifiler 11 & 9 and both are unsuccessful.
Server/DB Level Settings:
1)
Enable FileStream
2)
Install Full-Text
then restart
3)
Use [specific db]
alter
database [db name]
add
filegroup Files
contains filestream;
alter
database [db name]
add
file (
name = N'Files',
filename =
N'D:\SQL\DATA') to
filegroup [Files];
3)
Database level
Settings:
FileStream:
FileStream
Directory name:
[Set the name]
FileStream
non-transacted
Access: [set Appropriate]
3a)
Add a
datafile to DB
with filestreamdata
filetype.
4)
Share D:\SQL\DATA
directory and
add specific accounts
with read/write
access
5)
Give bulkadmin
access to those
specific accounts
at server
level
6)
From the
page (link)
download and
install the *.pdf
IFilter for
FTS. Link:
http://www.adobe.com/support/downloads/detail.jsp?ftpID=5542
7)
To the
PATH global system
variable add
path to the
catalog,
where you installed
the plugin.
Default for
this version is:
C:\Program
Files\Adobe\Adobe
PDF iFilter 9
for 64-bit
platforms\bin
8)
From the
page (link)
download a
FilterPackx64.exe
and install
it. Link:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=20109
9)
Now from
SSMS execute the following
procedures:
-sp_fulltext_service
'load_os_resources',1
-sp_fulltext_service
'verify_signature', 0
EXEC
sp_fulltext_service
'update_languages';
-- update language list
EXEC
sp_fulltext_service
'restart_all_fdhosts';
-- restart daemon
reconfigure
with override;
10)
Restart the
server
11)
select document_type,
path from
sys.fulltext_document_types
where document_type
= '.pdf'
-select
document_type,
path from sys.fulltext_document_types
where document_type
= '.docx'
12) Results are OK.
Following is my Table /Index/ catalog script:
CREATE
TABLE dbo.DocumentFilesTest
DocumentId INT
IDENTITY(1,1)
NOT NULL
PRIMARY KEY,
AddDate datetime
NOT NULL,
Name nvarchar(50)
NOT NULL,
Extension nvarchar(10)
NOT NULL,
Description nvarchar(1000)
NULL,
FileStream_Id UNIQUEIDENTIFIER
ROWGUIDCOL NOT
NULL UNIQUE DEFAULT
NEWSEQUENTIALID(),
FileSource varbinary(MAX)
FILESTREAM DEFAULT(0x)
go
--Add default add date for document
ALTER
TABLE dbo.DocumentFilesTest
ADD CONSTRAINT
DF_DocumentFilesTest_AddDate
DEFAULT sysdatetime()
FOR AddDate
EXEC
sp_fulltext_database
'enable'
GO
IF
NOT EXISTS
(SELECT
TOP 1 1 FROM sys.fulltext_catalogs
WHERE name
= 'Ducuments_Catalog_test')
BEGIN
EXEC sp_fulltext_catalog
'Ducuments_Catalog_test',
'create',
'D:\SQL\PDFBlob';
END
--EXEC sp_fulltext_catalog 'Ducuments_Catalog_test', 'drop'
DECLARE
@indexName nvarchar(255)
= (SELECT
Top 1 i.Name
from sys.indexes
i
Join sys.tables
t on
i.object_id
= t.object_id
WHERE t.Name
= 'DocumentFilesTest'
AND i.type_desc
= 'CLUSTERED')
PRINT @indexName
EXEC
sp_fulltext_table
'DocumentFilesTest',
'create',
'Ducuments_Catalog_test',
@indexName
EXEC
sp_fulltext_column
'DocumentFilesTest',
'FileSource',
'add', 0,
'Extension'
EXEC
sp_fulltext_table
'DocumentFilesTest',
'activate'
EXEC
sp_fulltext_catalog
'Ducuments_Catalog_test',
'start_full'
ALTER
FULLTEXT INDEX
ON [dbo].[DocumentFilesTest]
ENABLE
ALTER
FULLTEXT INDEX
ON [dbo].[DocumentFilesTest]
SET CHANGE_TRACKING
= AUTO
ALTER
FULLTEXT CATALOG
Ducuments_Catalog_test REBUILD
WITH ACCENT_SENSITIVITY=OFF;
INSERT
INTO DocumentFilesTest(Extension,
Name,
FileSource)
SELECT
'pdf'
'BOL12006553.pdf'
* FROM
OPENROWSET(BULK
'd:\SQL\PDFBlob\BOL12006553.pdf',
SINGLE_BLOB)
AS BLOB;
GO
INSERT
INTO DocumentFilesTest(Extension,
Name,
FileSource)
SELECT
'docx'
'test.docx'
* FROM
OPENROWSET(BULK
'd:\SQL\PDFBlob\test.docx',
SINGLE_BLOB)
AS Document;
GO
SELECT
d.*
FROM dbo.DocumentFilesTest
d WHERE
Contains(d.FileSource,
'BILL')
Returns nothing. it should come from PDF file
SELECT
d.*
FROM dbo.DocumentFilesTest
d WHERE
Contains(d.FileSource,
'TEST')
Returns from word document as follows:
2 2014-06-04 10:11:41.393 test.docx docx
NULL [BINARY Value] [Binary Value]
Any help is appreciated. Its been a long wait.
Thanks,
Vel
Vel ThavasiHello,
Did you check the fulltext log files for more details about the errors. If the filter isn’t working, there should be errors in the error log file.
The following thread is about similar issue, please refer to:
http://social.msdn.microsoft.com/forums/sqlserver/en-US/69535dbc-c7ef-402d-a347-d3d3e4860d72/sql-server-2008-64bit-fulltext-indexing-pdf-not-working-cant-find-ifilter
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support -
(( BLOB IMAGE *NOT* being saved ! ))
Hello,
I am new to APEX.
I am working with the SAMPLE APPLICATION
that comes with the free APEX.ORACLE.COM
account.
I am creating 2 pages similar to the
PRODUCTS report and the
PRODUCTS form.
(Page 3 and PAGE 6)
I am creating my own table
and my own pages.
I created my own table---
similar to the
DEMO_PRODUCT_INFO
table--which has all the PRODUCT
information in it.
This table looks like this:
http://mankindwins.com/__7700-2900-APEX-GLOBAL-201/850-500-SCREENSHOTS-FOR-POSTS-205/DEMO_PRODUCT_INFO__TABLE.gif
I used the APEX wizard to create a REPORT
on a table with a FORM.
I then replaced the source code wide
code similar to this:
select p.product_id,
p.product_name,
p.product_description,
p.category,
p.product_avail,
p.list_price,
p.product_id image
from demo_product_info p
That worked fine.
I then went into the
BLOB Download Format Mask
and I defined it to be something like this:
IMAGE:DEMO_PRODUCT_INFO:PRODUCT_IMAGE:PRODUCT_ID::MIMETYPE:FILENAME:IMAGE_LAST_UPDATE::inline:Download
This works fine.
It shows the images.
The problem is this:
When I try to create a NEW PRODUCT
the browse button is there,
I CAN upload a new image.
But then, when I hit the button
to CREATE the NEW PRODUCT---
it does **NOT SAVE** the
IMAGE
MIMETYPE
FILENAME
IMAGE_LAST_UPDATE
All the other information is saved---
( product name, category, etc.)
but NONE of the IMAGE INFO !
My question:
How do I get this information saved???
The BROWSE WORKS---
but the CREATE the NEW PRDOUCT
is NOT SAVING ANY OF THE IMAGE
INFO !
Why not?
Thanks for your help!
I really appreciate it!
David888
.Oct 9, 2010
Hello,
I found the answer!
I looked in the SAMPLE APPLICATION
PAGE 6
P6_PRODUCT_IMAGE
I looked at SETTINGS.
I put in the settings for the
blob image.
That made it work!
The values were saved!
YAY!
David888 -
OBIEE 10G Embedded Image not displayed on PDF
Hi
We have some embedded images (source on network share or on the webserver) on a dashboard. On the screen the images are displayed without problems.
But if we want to print the dashboard (f.e. PDF) the images are not printed. In html-view the images would be displayed.
Is there a known bug that images can't be printed on dashboard pages or do we have to embed them different?
Thank youHi Team,
I do face the same issue of image not displayed in only pdf output format. Our client has deployed OBIEE 10.1.3.4.1 using Weblogic application server and is accesible through a secured url access.
I have followed the fmap syntax to locate the image, also made sure the image is getting accessed through url, tried with different images of different sizes . In all cases the image display is appearing fine in HTML & Excel output. But not getting displayed only for pdf output.
Can you please help me with this regard if am missing any specific setup for pdf output. Is there is any pointers or documentation available to get around this issue.
Thanks in advance. -
OBIEE 11G Embedded Image not displayed on PDF
Hi
I have some embedded images on a dashboard. On the screen the images are displayed without problems.
But if we want to print the dashboard (f.e. PDF) the images are not printed. In html-view the images would be displayed.
All the images are referenced with the fmap path.
Any way to print the images in the pdf ?
Thank you
obiee 11.1.1.5
O.S : Oracle Linux 5.6 x64Hi Team,
I do face the same issue of image not displayed in only pdf output format. Our client has deployed OBIEE 10.1.3.4.1 using Weblogic application server and is accesible through a secured url access.
I have followed the fmap syntax to locate the image, also made sure the image is getting accessed through url, tried with different images of different sizes . In all cases the image display is appearing fine in HTML & Excel output. But not getting displayed only for pdf output.
Can you please help me with this regard if am missing any specific setup for pdf output. Is there is any pointers or documentation available to get around this issue.
Thanks in advance. -
Google Images not working in Safari on Iphone
Since a while back the "images"-tab in google does'nt work on the iPhone in any of the browsers I've tried. I've searched the net to find others with the same problem but with little luck. Here's a description of the problem.
For example I search for "dog" in google in the Safari browser, this works just fine.
Then I press the "images"-tab and get a thumbnail view with pictures of dogs, of course.
But this is where it all goes wrong, when touching one of the images I get an enlarged view of an image next to it. The "back to the results" and "full image" buttons dim out (without being touchable) and swiping does not work. I don't know what has caused this to stop working properly, I know its not the new iOS version though.
HERE is a youtube video I prepared that explains the problem.
First, is there anyone else out there with this problem?
Second, this is what I've tried:
- Other iPhone web browser applications, for example "Mercury", "Opera Mini", "Skyfire" and none of them works except "Dolphin" (good work).
- Resetting any of the settings in the phone, clearing cache and such have no effect.
- Resetting the iPhone totally, factory settings. No effect.
- Using someone elses iPhone. I've tried on an iPhone 4 and iPhone 3S, same problems (with iOS 5.01).
- Trying out all of the settings in google, no change.
- Setting the google view to "classic" instead of "mobile" works of course, but that makes the site look just like on a PC or Mac and is not what I'm after.
Third, this problem seems to just affect Swedish users from what I can tell. There would be thousands of posts about this if everyone in the world was affected by it, but so far I've seen no posts on this matter. But after searching a while I found a swedish forum site on the subject. Link (in swedish). Also, when visiting google from Sweden some form of script automatically changes the url from .com to .se. I don't know if this has something to do with it?
Anyone know what causes this problem and how It might be resolved?
Best Regard
Stefan, SwedenHi Stefan,
First; this must be the most thorough error discription I have ever seen. Impressive.
Second; yep for a couple of weeks now I've been having exactly the same problems as you describe. One other thing that I've noticed, is that for me, the 'word suggestion drop down list' or whatever it's name is, no longer works. More specificly:
I open Safari in my iPhone, surf to Google image search and type for example "dog" in the search field. Below the field, I now get a list of suggested words or phrases that I think is based on the most popular searches. For me, the first suggestion in this list is "dogo argentino" (a specific and popular breed of dogs). When I tap on the words "dogo argentino", the search field normally would switch input from "dog" to "dogo argentino" AND starts the image search automatically. However, since the problem showed up, when I tap on "dogo argentino" the input field is not affected (still reads "dog") and I would have to type "dogo argentino" manually and hit "search".
I use a Swedish iPhone 4S (5.0.1 (9A406)) in the Telenor network. I also have tested the same possible solutions that you describe in your post, but with no luck.
All the best,
Ingo -
Hyperlinks not working in PDf created from Keynote '08
When I produce a pdf from File > Print in Keynote '08, the hyperlinks do not work in the pdf. I have tried all the various pdf settings (even the ones that export hyperlinks) and no luck, the links are not working in the pdf. If I invoke the File > Export > PDf command in Keynote, the hyperlinks do work, but Export does not provide as much flexibility in PDF creation that File > Print does, thus my need to go to File > Print.
Any suggestion?
Yvansandman39 wrote:
If I export to pdf in Keynote, all my saved hyperlinks default to http://livepage.apple.com/ (when the pdf is subsequently opened in Adobe Reader).
Are you sure that you really entered a link when you created an Hyperlink?
The described one is the one which is used by default by every iWork's components.
We must enter the true one by ourselves.
Yvan KOENIG (from FRANCE samedi 13 septembre 2008 18:05:31) -
Hyperlinks not working in PDF from ID
Hi folks:
I am currently creating a file in InDesign (CC 2014) and attempting to export it to a pdf. When I do export it, only 6 out of 15 hyperlinks work in PDF. The links that work AND do not work are both URLs and Emails. In ID all links function in the Hyperlinks panel. I have unclicked "Shared Hyperlinks Destination" for all links. It is not that the links are broken, it is that in the PDF version, half of the links are not reading that a hyperlink is attached.
Any troubleshooting ideas are greatly appreciated.
Sincerely,
JenWhen you export with File > Export > Adobe PDF (Print), you need to check Hyperlinks at the bottom (see below). Hyperlinks are not included by default:
-
Why is code to get center of image not working?
Hey there. I have am trying to establish the center of the imags that load so that I can put them in the center of the stage. I am doing this as each image is a different size.
Here is the code i have gotten to work before but its not working now and I have been searching to find what I have done wrong with no luck. : (
Would you look it over and maybe you will see what I am doing wrong?
public function placePicture(e:Event = null):void {
rawImage = imageData.image[imgNum].imageURL;
lastImageIndex = imageData.*.length() - 1;
imageLoader = new Loader;
imageHolder = new Sprite;
imageLoader.load(new URLRequest(rawImage));
imageLoader.x -= imageLoader.width/2; //this should set the image to the center no?
imageLoader.y -= imageLoader.height/2;
imageHolder.x = 640; //this is the center of the stage
imageHolder.y = 100;
imageHolder.addChild(imageLoader);
masterHolder.addChild(imageHolder);
The result when I publish is the picture comes on stage but the top left corner goes to 640 instead of the center of the image going to 640.
I tried several variations of this all with the same result:
imageLoader.x = -1*imageLoader.width/2;
I tried using setRegistrationPoint with the following tutorial: http://flashscript.ca/set-registration-as3.php
and I tried doing all of the above by inserting the loader into a sprite and then applying the code to the sprite and then adding that sprite to another sprite and putting that at 640 and not inserting it in another sprite and trying to straight up put the existing sprite at 640 (hopefully that all makes sense). And I have tried to put it to width/3 and nothing different happens.
If you have any other ideas or can see what I am doing wrong I would really be gratefull for some tips! : )
Thanks for any help!
oh, and I am getting no errors on this.the image's width and height are not available until loading is complete. ie, use a complete listener/listener function.
-
Hi All,
Can anyone help. I have created a table within each chapter of my book, I have used this table as a navigation bar which sits on every right master page and linked each chapter by xref to the heading of each chapter, this has worked fine previously with no problems, however I have created a new manual using an existing manual (just changed the footers etc), but unfortunately there are four out of the eight chapaters that when PDF'd to not work (the hyperlink does not seem to exist). I cannot get my head round this why some work on others do not. Any ideas?
JohannWhen creating the PS/PDF, do you have "Create Named Destinations for All Paragraphs" turned on? (PDF Setup, Links tab) turned on
Having this setting turned on typically helps prevent random bad links in the PDF (assuming that the cross references are valid in FrameMaker).
Shlomo Perets, http://www.microtype.com
FrameMaker/TCS training & consulting
Maybe you are looking for
-
Completely Lost on Final Cut HD
Recently I got Final Cut HD, and when trying to get footage off my VX1000 and when i edit the clip or whatever, it will lock up on one part of the clip and the sound will keep going. Has anyone expierenced similar problems or know what the problem co
-
ADF - view link join on transient field
I have created two view objects (master, detail). The master table has a transient attribute which I wish to use as part of the join with the detail record. Any takers on how this might be done? As an alternative approach, instead of using a join on
-
How to connect .odb database using forms 6i`
Hai I need to connect .odb database with forms 6i. Tell me the steps and settings i need to setup for running forms 6i in .odb database.
-
Hello Everyone, I am trying to restrict the value of a field in SM30. The idea is the value of this field cannot be duplicate. Also, I can't make it the key field as there can be only 1 key field in the table. Let me be more clear. The field name is
-
We have a client with 2 SA540 units both connecting back to a SA520 with ipsec tunnels. Nothing out of the oridinary really. We did have some VOIP QoS settings that never really worked so the client opted to add a Time Warner Roadrunner cable conne