English 中文(简体)
开放式广播局在无法找到时消除图像
原标题:openTBS remove image when replace not found

如果不存在你以代替的图像,那么你如何去掉开放数据库的形象?

我有一套法典,在表格中穿透和替换药剂,但有时客户没有照片。 我试图从违约的现成标签中抹去,但显示一个缺失的图像箱(“目前不能展示这种形象”)。

最新资料:

我认为,斯科罗尔语的回答会奏效,但我会想让它工作。 我的画面如下。

[field.p5;ope=changepic;from=’[val]’;adjust]

随之而来的是,如果实地变数第5页没有固定或空洞,那么就不得不说什么。

最佳回答

如果你首先需要的是,如果不找到目标图象,不要改变Docx的画面,那么就有两个解决办法:

  1. First try with the latest OpenTBS version (1.7.4) because it claims to fix a bug about "default=current"
  2. If it does not work, then you have to check at the PHP side if the target picture does exist using file_exists(). If it doesn t exist then change the target picture path with a new file that you are sure it does exist.

如果档案缺失,你更愿意删除文件中的图片箱,那么你可以增加一个局域,根据全球变量删除图片箱。

PHP:

$picok = (file_exists($the_picture)) ? 1 : 0;

传真:

[onshow;block=w:drawing;when [var.picok]=1]
问题回答

暂无回答




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签