Please read and follow the COMMON ISSUES first!
Always add your version information in every new post! Thank you!

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Alexander
  2. Form2Content Lite & Pro
  3. Tuesday, 05 February 2019
  4.  Subscribe via email
Hi, again :)
When we upload some images trough image gallery field, in form images is uploaded ok, but on front-end they not appear at all.
Attachments (2)
Accepted Answer
Accepted Answer Pending Moderation
Read: https://documentation.form2content.com/support/how-to-test

You can see this URL.
https://subscription.itcanhelp.eu/bg/com_form2content/p3/f3/gallery91/dreamstime_xl_75957358_res.jpg

So maybe change to and test:

{foreach from=$IMAGE_GALLERY_IMAGES item=GALLERYIMAGE}
<img src="images/stories/{$IMAGE_GALLERY_URL_RELATIVE}{$GALLERYIMAGE.FILENAME}" alt="{$GALLERYIMAGE.ALT}" title="{$GALLERYIMAGE.TITLE}" height="{$GALLERYIMAGE.HEIGHT}" width="{$GALLERYIMAGE.WIDTH}" />
{/foreach}
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Responses (10)
Accepted Answer Pending Moderation
Hi Alexander,
Please read the documentation and see the examples.
https://documentation.form2content.com/f2c-field-types/image-gallery-field
https://gist.github.com/Form2Content

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
So, thanks again, but if we now how to do this, we never write ticket here.
To us is so much complicated to make, for that reason we ask help from you!
If we provide access to administration will you be so kind to help us solve this case, PLEASE?
Accepted Answer Pending Moderation
Hi Alexander,

Form2Content is a Content Construction Kit where you have to build some things yourself the way you want them. That is the whole idea and strength of this extension. It is not plug 'n play.

Support is not us building elements of your website for you. It is helping you if you get stuck with some code or if something doesn't work. If you ask me to build something for you apart from that I have to know what it is you want it is also for a normal fee. The 35 euro for F2C is for development and the support here, not building websites ;) Hope you understand this.

I believe the code is relatively simple (I am not a programmer either). It is simple html and css what anyone building websites should know a little about. The best is that you try yourself. You can copy/paste from the examples and only need to change your field names. Learn now and a world of possibilities will open!

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
Thank you, but which code to take and paste? This is bellow our code, but not work, gallery only :( :(
================================================
{* This template is used with the Simple Article Example and has some extra coding and explanations to help you underway with creating your own custom templates for Form2Content using the Smarty Template Engine. THESE COMMENTS WILL NOT SHOW IN YOUR ARTICLE *}

{* Your INTRODUCTION TEXT is NOT shown since we have used a DEFAULT setting (override in the F2C Content Configuration) for your ADVANCED ARTICLE PARAMETERS and set it to HIDDEN. This is a JOOMLA NATIVE option.*}

{*THE ENTIRE CONTENT IS BETWEEN the following 'if' TAGS, checking if there is content in the MAIN field and if not, nothing will be rendered and this template will be EMPTY. When the main_tempate is empty JOOMLA will NOT show a READ MORE.*}

{if $MAIN}
<div>
{*PLEASE NOTE: We are using the RAW output for displaying te image. If NO image is uploaded, nothing will be shown.*}

{if $IMAGE}<img src="{$IMAGE}" align="right" style="padding-left:10px;" alt="{$JOOMLA_TITLE}" />{/if}

{$MAIN}

<p><strong>Article reference:</strong> {$REFERENCE|default:'No reference available'}</p>
<div style="clear:both;"></div>
</div>
{* The following code is an example of using conditional statements*}



{if $JOOMLA_INFORMATION eq '1'}
<div style=" padding:5px; border:1px solid #999; width:98%; margin:10px 0; clear:both;">
<p>These are Form2Content LITE template parameters. In PRO you can access and display all the Joomla article data like section, category and author info.</p>
<span style="font-size:90%;">
Artice title: {$TITLE}<br/>
Title alias: {$TITLE_ALIAS}<br/>
Article URL (raw output, great for custom 'read more'): <a href="{$JOOMLA_ARTICLE_LINK}" target="_blank">{$JOOMLA_ARTICLE_LINK}</a><br/>
Joomla Article ID: {$JOOMLA_ID}<br/>
Start publishing: {if $PUBLISH_START}{$PUBLISH_START}{else}empty{/if}<br/>
Stop publishing: {if $PUBLISH_STOP}{$PUBLISH_STOP}{else}empty{/if}<br/>
Article create date: {$CREATED}<br/>
Article modified date: {$JOOMLA_MODIFIED}</span>
</div>
{elseif $JOOMLA_INFORMATION eq '2'}
<p>No extra information available.</p>
{else}

{/if}
<p style="font-size:20px; border:1px solid #666;padding-left:10px"><b>Казус PDF: </b>{$CASUS_PDF}</p>
<p style="font-size:20px; border:1px solid #666;padding-left:10px"><b>Казус url: </b>{$CASUS_URL_URL}</p>
<p style="font-size:20px; border:1px solid #666;padding-left:10px"><b>Продуктът в едно изречение : </b>{$ONE_WORD}</p>
<p style="font-size:20px; border:1px solid #666;padding-left:10px"><b> Технически характеристики : </b>
{$TECHNICAL_DATA_PRODUCT}{$ONE_WORD}</p>

{$IMAGE_GALLERY}{$IMAGE_GALLERY_IMAGES}{$IMAGE_GALLERY_URL_RELATIVE}{$IMAGE_GALLERY_URL_ABSOLUTE}{$IMAGE_GALLERY_PATH_RELATIVE}{$IMAGE_GALLERY_PATH_ABSOLUTE}

{/if}
Accepted Answer Pending Moderation
From the documentation.....
https://documentation.form2content.com/f2c-field-types/image-gallery-field

Try:
{foreach from=$IMAGE_GALLERY_IMAGES item=GALLERYIMAGE}
<img src="{$IMAGE_GALLERY_URL_RELATIVE}/{$GALLERYIMAGE.FILENAME}" alt="{$GALLERYIMAGE.ALT}" title="{$GALLERYIMAGE.TITLE}" height="{$GALLERYIMAGE.HEIGHT}" width="{$GALLERYIMAGE.WIDTH}" />
{/foreach}
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
PS you are also running some 3rd party plugin for gallery effect! Switch it off and test....
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
Thanks, now images is appear, thanks again for your patience.
Accepted Answer Pending Moderation
Glad it helped, keep reading the docs ;)
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.