Is it possible to export a pagetree to .t3d with images? Images are embedded as "Text & Images" elements. I could export pages, but images didn't follow.
Images has to be moved separately to the same path (either in fileadmin or in uploads) in order to do a proper export/import. If you check the file, all file paths are there in the export.
Source:
https://wiki.typo3.org/Faq/copy_parts_of_a_running_TYPO3_system_to_another_server
Related
My installation is TYPO3 9.5.4 plus bootstrap_package 10.0.4. I want to display a PDF file. I have included a content element type text & media to a page and connected with the PDF file. The backend shows the correct pre-view of the file. However, the frontend only shows the header line of the content element, not the PDF file (as picture). It worked under version 8.7.xx (at that time without bootstrap_package). Any hints how to solve this issue?
Maybe your installation has problems with reading PDF as image (please do the image checks). Anyway there are some PDF which can't be read because of their strange format.
As you have a backend preview image I assume the PDF is readable as image. And the preview image might exist since TYPO3 8. The FE rendering is done from current TYPO3 9 and maybe the graphic manipulation configuration is wrong.
You have to expand the file:
typo3conf/ext/bootstrap_package/Resources/Private/Partials/ContentElements/Media/Type.html
You need a new case for PDF files (Type 5):
<f:case value="5">
<f:render partial="Media/Type/Image" arguments="{file: file, data: data, settings: settings, variants: variants}" />
</f:case>
You can copy the file in your sitepackage and expand
I have a typo3 site.
Where i need to resize the images with user defined names and then store it in a folder
Any idea how can we do this ?
Maybe this TypoScript option helps:
config.meaningfulTempFilePrefix = 1
Now when resizing an image and by this storing the resulting file in typo3temp the filename won't be gibberish only but still containing the original filename.
http://wiki.typo3.org/TSref/CONFIG
For rendering svg file on iPhone I have downloaded a project from GitHub
SVGQuartzRenderer
but it shows the following errors:
UIKit/UIKit.h No such file or directory
(I am not able to add it using add existing frameworks)
Libxml/tree.h:No such file or directory
Expected specifier-qualifier list before xmlParserCtxtPtr
Does anyone know how I can make this project work?
I have also found another framework:
SVGKit.
It works well for some SVG files but not for all.
Is it possible to render any SVG file in iPhone without using UIWebView and are there any tutorials or sample code?
Starting Xcode 12, you can add the .svg file in your Assets Catalog and do this:
let image = UIImage(named: "SomeSVGImage")
ref: https://developer.apple.com/documentation/xcode-release-notes/xcode-12-beta-release-notes
I am currently using tinyMCE to edit content within my site and I am looking for a way display an image within the tinyMCE once it has been uploaded to the site.
Note: I am not looking for a means to upload an image directly into tinyMCE. I am looking for the tinyMCE command which would allow me to display an image within the content in the editor after I have uploaded it.
Thanks
You could insert a regular img-tag inside tinymce using a custom plugin or using the setup parameter in your tinymce init. The src should refer to the html location of the image to be uploaded. As soon as the image is available the image will become visible on next reload of the editors content. If you need further assistance feel free to ask.
After successfull uploaded you have the source of the image (img_src). Now you need to add it to the editor like this
tinymce.activeEditor.insertContent('<img alt="photo" src="' + img_src + '"/>');
I have A4 size PDF page. PDF page contains 10 images. I want to split the PDF page as 10 image files. Plz give me an Idea.
You can use PDFBox (a library available for .NET) to convert each page of the PDF to a PNG image, then use the GDI functions in C# to copy known regions of the PNG files and save them as individual image files. This only works if the layout of the images on each page is static.
More info on PDFBox:
http://studentclub.ro/lucians_weblog/archive/2007/03/22/read-from-a-pdf-file-using-c.aspx
PDFsharp seems to be a popular open source choice for PDF manipulation from .NET and Mono. PdfMod is a related Mono-based front-end.