Forums / Extensions / Image into Block XML / transparency PNG

Image into Block XML / transparency PNG

Author Message

Jonathan Clavier

Thursday 02 June 2011 6:14:36 am

Hello everyone,
I try to insert an image into an XML block but when I click on browse, I can not select images. How can I do?
I also have a second problem: When I insert an image in PNG, the transparency does not work and the background becomes black. (I use ImageMagick).
Would you have answers?

Marko Žmak

Friday 03 June 2011 4:59:42 am

Regarding the png transparency problem, try using imagegd instead of imagemagick. This helped when I had the exact same problem.

Regarding the image insert problem, your should describe better what's the problem, it's not really clear...

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Jonathan Clavier

Friday 03 June 2011 9:20:53 am

I'll try to use image gd, OK.
For the other problem, when I click on the button "upload new image " in the wysiwyg editor, I go to "browse" and then I can not select my image.
Thank you in advance

Marko Žmak

Friday 03 June 2011 3:18:38 pm

It sounds like your problem with inserting images is related to some wrong ini settings. In the FAQ of ezoe you have this part:

4. When I insert an image into the editor, it does not show the image.
===============================================================================

Check the 'extension/ezoe/settings/content.ini.append.php' file, find line

ImagesClassList[]=your_image_class_identifier

under [RelationGroupSettings]. Is the image class identifier correct?
(or add file / line if it's not there)

So check this setting and the clas identifier of your image class.

If this doesn't help maybe Andre R. could help...

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Jonathan Clavier

Saturday 04 June 2011 1:37:53 am

Hello,
 I have this line in the configuration file:
 ImagesClassList [] = image
 I still have the problem.
 If someone with another idea (Andre R. may be;-)))

eZ debug

Timing: Jan 17 2025 23:37:14
Script start
Timing: Jan 17 2025 23:37:14
Module start 'content'
Timing: Jan 17 2025 23:37:15
Module end 'content'
Timing: Jan 17 2025 23:37:15
Script end

Main resources:

Total runtime1.2168 sec
Peak memory usage4,096.0000 KB
Database Queries201

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 587.8125180.8359
Module start 'content' 0.00761.0600 768.6484568.9453
Module end 'content' 1.06750.1492 1,337.5938337.3984
Script end 1.2168  1,674.9922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3308210.0002
Check MTime0.00160.1278210.0001
Mysql Total
Database connection0.00170.139910.0017
Mysqli_queries1.141893.83732010.0057
Looping result0.00230.19011990.0000
Template Total1.185697.420.5928
Template load0.00210.169820.0010
Template processing1.183597.259620.5917
Template load and register function0.00010.011210.0001
states
state_id_array0.00080.068010.0008
state_identifier_array0.00120.099820.0006
Override
Cache load0.00170.1403280.0001
Sytem overhead
Fetch class attribute can translate value0.00130.110730.0004
Fetch class attribute name0.00100.082360.0002
XML
Image XML parsing0.00090.078030.0003
class_abstraction
Instantiating content class attribute0.00000.001270.0000
General
dbfile0.00330.2749290.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs